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

State faulty in some screens #22

Open
ivan-015 opened this issue Jan 31, 2023 · 0 comments
Open

State faulty in some screens #22

ivan-015 opened this issue Jan 31, 2023 · 0 comments
Labels
web This indicates that the issue affects the `web` version of the app

Comments

@ivan-015
Copy link
Collaborator

Some screens read their Bloc or Cubit through the extra property of the router. For example, this is how the /send route takes in its cubit:

image

This causes errors in the following situations:

  • Hot reload
  • Hot restart
  • Entering the URL of /send manually in web

This happens because the Bloc disappears and can no longer be read because its caller does not send the parameter.

The goal of this issue is to allow every single permitted route to be independent of other screens. In other words, /send should be able to try and read from flutter_secure_storage somehow and display the necessary information if successful.

@ivan-015 ivan-015 added the web This indicates that the issue affects the `web` version of the app label Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
web This indicates that the issue affects the `web` version of the app
Projects
None yet
Development

No branches or pull requests

1 participant