feat: auth screen with auto-redirect, sync favorites/history with backend
This commit is contained in:
@@ -12,7 +12,7 @@ import androidx.navigation.compose.currentBackStackEntryAsState
|
||||
fun BottomNavBar(navController: NavController) {
|
||||
val currentRoute = navController.currentBackStackEntryAsState().value?.destination?.route
|
||||
NavigationBar {
|
||||
NavDestinations.items.forEach { destination ->
|
||||
NavDestinations.items.filter { it.showInBottomBar }.forEach { destination ->
|
||||
NavigationBarItem(
|
||||
icon = { Icon(destination.icon, contentDescription = destination.labelRes) },
|
||||
label = { Text(destination.labelRes) },
|
||||
|
||||
Reference in New Issue
Block a user