-
Notifications
You must be signed in to change notification settings - Fork 250
fix(auth): trezor auth flow and wallet main state updates #2890
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -13,14 +13,18 @@ mixin TrezorAuthMixin on Bloc<AuthBlocEvent, AuthBlocState> { | |||||
| on<AuthTrezorCancelled>(_onTrezorCancel); | ||||||
| } | ||||||
|
|
||||||
| /// Abstract method overriden in [AuthBloc] to start listening | ||||||
|
||||||
| /// Abstract method overriden in [AuthBloc] to start listening | |
| /// Abstract method overridden in [AuthBloc] to start listening |
Copilot
AI
Jul 9, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The error emission code is duplicated across multiple branches; consider extracting a helper method to construct and emit error states to reduce repetition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This condition prevents emitting
loggedInfor Trezor wallets on startup. If Trezor authentication should also triggerloggedIn, this logic may skip necessary state updates.