Fix typo
This commit is contained in:
parent
71e309f6c3
commit
c5cdcc4d37
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue