Open
Description
Describe the problem you discovered
When you import a wallet with pin code
[UnlockPinScreenOverlay] Hide
[UnlockPinScreenOverlay] ... not visible. Abort
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Bad state: Future already completed
#0 _AsyncCompleter.complete (dart:async/future_impl.dart:43:31)
future_impl.dart:43
#1 AuthScreenOverlay._show.<anonymous closure>.<anonymous closure> (package:aewallet/ui/views/authenticate/auth_screen_overlay.dart:55:17)
auth_screen_overlay.dart:55
#2 _PinScreenState._decodePayload.<anonymous closure> (package:aewallet/ui/views/authenticate/pin_screen.dart:320:22)
pin_screen.dart:320
#3 _$AuthenticationResultImpl.maybeMap (package:aewallet/domain/usecases/authentication/authentication.freezed.dart:243:21)
authentication.freezed.dart:243
#4 _PinScreenState._decodePayload (package:aewallet/ui/views/authenticate/pin_screen.dart:318:18)
pin_screen.dart:318
<asynchronous suspension>
#5 _PinScreenState._buildPinScreenButton.<anonymous closure>.<anonymous closure> (package:aewallet/ui/views/authenticate/pin_screen.dart:230:19)
pin_screen.dart:230
<asynchronous suspension>
[_pinAuthenticationNotifierProvider] 2024-10-20 15:10:43.589 didUpdateProvider(AsyncData<PinAuthenticationState>(value: PinAuthenticationState(failedAttemptsCount: 0, maxAttemptsCount: 5)))
Describe the solution you'd like
No response
Epic
No response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment