Commit 19c773f 1 parent 9b6e984 commit 19c773f Copy full SHA for 19c773f
File tree 1 file changed +6
-1
lines changed
presentation/src/main/java/com/everymeal/presentation/ui/bottom
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
package com.everymeal.presentation.ui.bottom
2
2
3
+ import androidx.compose.foundation.indication
4
+ import androidx.compose.foundation.interaction.MutableInteractionSource
3
5
import androidx.compose.foundation.layout.fillMaxWidth
4
6
import androidx.compose.foundation.layout.height
5
7
import androidx.compose.material3.Icon
6
8
import androidx.compose.material3.NavigationBar
7
9
import androidx.compose.material3.NavigationBarItem
10
+ import androidx.compose.material3.NavigationBarItemDefaults
8
11
import androidx.compose.material3.Text
9
12
import androidx.compose.runtime.Composable
13
+ import androidx.compose.runtime.remember
10
14
import androidx.compose.ui.Modifier
11
15
import androidx.compose.ui.graphics.Color
12
16
import androidx.compose.ui.graphics.vector.ImageVector
@@ -62,7 +66,8 @@ fun EveryMealBottomNavigation(
62
66
)
63
67
},
64
68
selected = currentDestination?.route == bottomItem.route,
65
- onClick = { navigateToScreen(bottomItem) }
69
+ onClick = { navigateToScreen(bottomItem) },
70
+ colors = NavigationBarItemDefaults .colors(indicatorColor = Color .White ),
66
71
)
67
72
}
68
73
}
You can’t perform that action at this time.
0 commit comments