Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overlay error - Future already completed #1128

Open
redDwarf03 opened this issue Oct 20, 2024 · 0 comments
Open

Overlay error - Future already completed #1128

redDwarf03 opened this issue Oct 20, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@redDwarf03
Copy link
Member

redDwarf03 commented Oct 20, 2024

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

@redDwarf03 redDwarf03 added the bug Something isn't working label Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants