Misleading UI in login as guest page
codewithkushagra opened this issue · comments
Describe the bug
When we login as guest and try to logout it, gives an option of create a new account and redirects us to auth screen. Instead it should show Logout which makes more sense.
To Reproduce
Steps to reproduce the behavior:
- Login as guest
- Try to logout
- You get an option of create account
- Redirects you to auth screen
Expected behavior
It should show logout option instead of create account option.
Demonstration
Environment
- Device/emulator being used: oneplus 7 Pro
- OS (iOS/ Android); version 11.0.6.1, android 11
- Flutter version: 2.10.3
Are you working on this issue? (Yes/No)
yes
Can you please assign me this issue @nb9960
Why do I need a logout button if I'm a guest? As far as I remember, this was discussed earlier on slack and @cfsmp3 suggested that we shouldn't have a logout button if the user is not logged in.