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

Fix. fingerprint login glitch #35

Merged
merged 2 commits into from
Oct 1, 2023

Conversation

droidbg
Copy link
Contributor

@droidbg droidbg commented Sep 30, 2023

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

AuthPage widget was getting rendered two times, one from initial route, and second time from when a AuthSessionState state change happen in bloc listener.
This was applied every time a app is opened and was not just specific to fingerprint handling.

Fix

Removed initialRoute from the app, now it will build Auth Page one time, only after when all conditions are verified in Bloc Listener.

_Tested the Fix?

  • In Real Device
  • In Emulator

Related Tickets & Documents

Copy link
Owner

@SankethBK SankethBK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the issue, thank you for the contribution!

@SankethBK SankethBK added the hacktoberfest Applicable to hacktoberfest label Oct 1, 2023
@SankethBK SankethBK merged commit 9bdc555 into SankethBK:master Oct 1, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Applicable to hacktoberfest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix fingerprint login glitch
2 participants