CCExtractor / beacon

Flutter application to share location with a group. (under development)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  1. Login as guest
  2. Try to logout
  3. You get an option of create account
  4. Redirects you to auth screen

Expected behavior
It should show logout option instead of create account option.

Demonstration

WhatsApp Image 2022-04-17 at 5 05 17 PM

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.