mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Fix typo
This commit is contained in:
committed by
Benoit Marty
parent
71e309f6c3
commit
c5cdcc4d37
+2
-2
@@ -26,7 +26,7 @@ fun RowScope.NavigationBarItem(
|
|||||||
enabled: Boolean = true,
|
enabled: Boolean = true,
|
||||||
label: @Composable (() -> Unit)? = null,
|
label: @Composable (() -> Unit)? = null,
|
||||||
alwaysShowLabel: Boolean = true,
|
alwaysShowLabel: Boolean = true,
|
||||||
colors: NavigationBarItemColors = ElementNavigationBarItemDefaultsDefaults.colors(),
|
colors: NavigationBarItemColors = ElementNavigationBarItemDefaults.colors(),
|
||||||
interactionSource: MutableInteractionSource? = null
|
interactionSource: MutableInteractionSource? = null
|
||||||
) {
|
) {
|
||||||
NavigationBarItem(
|
NavigationBarItem(
|
||||||
@@ -42,7 +42,7 @@ fun RowScope.NavigationBarItem(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
object ElementNavigationBarItemDefaultsDefaults {
|
object ElementNavigationBarItemDefaults {
|
||||||
@Composable
|
@Composable
|
||||||
fun colors() = NavigationBarItemDefaults.colors().copy(
|
fun colors() = NavigationBarItemDefaults.colors().copy(
|
||||||
selectedIconColor = ElementTheme.colors.iconPrimary,
|
selectedIconColor = ElementTheme.colors.iconPrimary,
|
||||||
|
|||||||
Reference in New Issue
Block a user