Skip to content

Commit

Permalink
library: Fix a problem caused by update haze
Browse files Browse the repository at this point in the history
  • Loading branch information
YuKongA committed Sep 10, 2024
1 parent a46702c commit ff8f6e2
Showing 1 changed file with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,12 @@ fun MiuixScaffold(
ScaffoldLayout(
topBar = {
if (enableTopBarBlur) {
MiuixBox(Modifier.hazeChild(hazeState)) {
MiuixBox(
Modifier.hazeChild(
state = hazeState,
style = hazeStyle
)
) {
topBar()
}
} else {
Expand All @@ -123,7 +128,12 @@ fun MiuixScaffold(
},
bottomBar = {
if (enableBottomBarBlur) {
MiuixBox(Modifier.hazeChild(hazeState)) {
MiuixBox(
Modifier.hazeChild(
state = hazeState,
style = hazeStyle
)
) {
bottomBar()
}
} else {
Expand Down

0 comments on commit ff8f6e2

Please sign in to comment.