Skip to content

Commit 6263ceb

Browse files
committed
library: Bump version to 0.2.3
1 parent af53153 commit 6263ceb

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
allprojects {
22
group = "top.yukonga.miuix.kmp"
3-
version = "0.2.2"
3+
version = "0.2.3"
44
}

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

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ import top.yukonga.miuix.kmp.utils.MiuixPopupUtil.Companion.MiuixPopupHost
5151
* @param floatingActionButtonPosition position of the floating action button.
5252
* @param snackbarHost component to host [Snackbar]s that are pushed to be shown via
5353
* [SnackbarHostState.showSnackbar], typically a [SnackbarHost].
54-
* @param enableTopBarBlur whether to enable blur effect on the [TopAppBar].
5554
* @param containerColor the color used for the background of this scaffold. Use [Color.Transparent]
5655
* to have no color.
5756
* @param contentWindowInsets window insets to be passed to [content] slot via [PaddingValues]
@@ -72,8 +71,6 @@ fun Scaffold(
7271
floatingActionButton: @Composable () -> Unit = {},
7372
floatingActionButtonPosition: MiuixFabPosition = MiuixFabPosition.End,
7473
snackbarHost: @Composable () -> Unit = {},
75-
enableTopBarBlur: Boolean = true,
76-
enableBottomBarBlur: Boolean = true,
7774
containerColor: Color = MiuixTheme.colorScheme.background,
7875
contentWindowInsets: WindowInsets = WindowInsets.statusBars,
7976
content: @Composable (PaddingValues) -> Unit
@@ -89,14 +86,10 @@ fun Scaffold(
8986
) {
9087
ScaffoldLayout(
9188
topBar = {
92-
if (enableTopBarBlur) {
93-
topBar()
94-
}
89+
topBar()
9590
},
9691
bottomBar = {
97-
if (enableBottomBarBlur) {
98-
bottomBar()
99-
}
92+
bottomBar()
10093
},
10194
content = {
10295
content(it)

0 commit comments

Comments
 (0)