Skip to content

Commit 25608fb

Browse files
authored
fix: NavigationBar split when using blur (#52)
1 parent c1a0de9 commit 25608fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/basic/NavigationBar.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ fun NavigationBar(
8686
)
8787
}
8888
Row(
89-
modifier = Modifier.fillMaxWidth(),
89+
modifier = modifier.fillMaxWidth(),
9090
horizontalArrangement = Arrangement.SpaceBetween,
9191
verticalAlignment = Alignment.CenterVertically
9292
) {
@@ -107,7 +107,7 @@ fun NavigationBar(
107107
)
108108
val fontWeight = if (isSelected) FontWeight.Medium else FontWeight.Normal
109109
Column(
110-
modifier = modifier
110+
modifier = Modifier
111111
.height(NavigationBarHeight)
112112
.weight(1f / items.size)
113113
.pointerInput(Unit) {

0 commit comments

Comments
 (0)