|
@@ -92,18 +92,15 @@ fun BottomBarMainScreen(navController: NavHostController, activity: ComponentAct
|
|
|
@Composable
|
|
|
fun BottomBar(navHostController: NavHostController, screens: List<BottomBarScreen>) {
|
|
|
|
|
|
-
|
|
|
val navBackStackEntry = navHostController.currentBackStackEntryAsState()
|
|
|
val currentDestination = navBackStackEntry.value?.destination
|
|
|
-
|
|
|
Log.d("currentRoute -> BB ", currentDestination.toString())
|
|
|
|
|
|
-
|
|
|
BottomNavigation (
|
|
|
backgroundColor = MaterialTheme.colorScheme.onBackground,
|
|
|
elevation = 0.dp,
|
|
|
// contentColor = Color.Gray,
|
|
|
- modifier = Modifier.height(84.dp)
|
|
|
+ modifier = Modifier.height(if (isTablet()) 150.dp else 110.dp)
|
|
|
) {
|
|
|
screens.forEach { screen ->
|
|
|
AddItem(
|