Skip to content

Fix bug: when accessing the feed screen without login, we get stuck in an infinite loading screen. #205

@Ismaillat

Description

@Ismaillat

Description: Currently, logged-out users can navigate to the feed screen, causing undesired behavior(infinite loading screen). The feed navigation should be blocked for users who are not logged in. When a logged-out user attempts to access the feed via the bottom navigation menu:

  • They should stay on the current screen.
  • A message ("You need to log in to access the feed.") should be displayed using a Toast .
  • Logged-in users should retain normal feed access and functionality.

Acceptance Criteria:

Logged-out users cannot navigate to the feed screen.
A toast message appears when a logged-out user attempts to navigate to the feed.
Classes using the BottomNavigationMenu are updated with the new isUserLoggedIn parameter.
Remove the existing toast logic from the feed that handles rating by logged-out users, as it is no longer needed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions