This commit is contained in:
Benoit Marty
2025-06-26 12:59:36 +02:00
committed by Benoit Marty
parent 811527e789
commit 963a19239a

View File

@@ -26,7 +26,7 @@ fun RowScope.NavigationBarItem(
enabled: Boolean = true,
label: @Composable (() -> Unit)? = null,
alwaysShowLabel: Boolean = true,
colors: NavigationBarItemColors = ElementNavigationBarItemDefaultsDefaults.colors(),
colors: NavigationBarItemColors = ElementNavigationBarItemDefaults.colors(),
interactionSource: MutableInteractionSource? = null
) {
NavigationBarItem(
@@ -42,7 +42,7 @@ fun RowScope.NavigationBarItem(
)
}
object ElementNavigationBarItemDefaultsDefaults {
object ElementNavigationBarItemDefaults {
@Composable
fun colors() = NavigationBarItemDefaults.colors().copy(
selectedIconColor = ElementTheme.colors.iconPrimary,