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 profile modal not closing after switching accounts #1706

Conversation

micahmo
Copy link
Member

@micahmo micahmo commented Feb 18, 2025

Pull Request Description

This is a quick followup to #1701. For some reason, even though the modal was closing after adding a new account, it wasn't closing after switching accounts. I found that adding rootNavigator: true helped. To be honest I'm not sure exactly why (maybe it was a breaking change from a Flutter upgrade, since I only noticed it recently). But this seems to do the trick.

Copy link
Member

@hjiangsu hjiangsu left a comment

Choose a reason for hiding this comment

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

LGTM! I also noticed this issue and it was bugging me as well 😅

@hjiangsu hjiangsu merged commit a57dec8 into thunder-app:develop Feb 19, 2025
1 check passed
@micahmo micahmo deleted the fix/profile-modal-not-closing-after-switch branch February 19, 2025 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants