Skip to content

Commit

Permalink
Refactor navigation code to remove unused screen
Browse files Browse the repository at this point in the history
The commit removes the "/fav" screen from the navigation code in AppNavigation.kt. This screen is no longer needed and has been removed to simplify the navigation flow.
  • Loading branch information
MostafaMohamed2002 committed Nov 8, 2024
1 parent b01b06e commit a8837e8
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ fun NavHostScreen() {
freeGamesScreenViewModel = freeGamesScreenViewModel
)
}
composable(route = "/fav") {
bottomBarVisibility = true // Show bottom bar in the "fav" screen
}
composable(
route = "/details/{gameId}",
arguments = listOf(navArgument("gameId") { type = NavType.IntType })
Expand Down

0 comments on commit a8837e8

Please sign in to comment.