修复设置项重叠问题
This commit is contained in:
1 file changed
+19
-14
@@ -411,20 +411,25 @@ fun ThemeConfigScreen(
|
|||||||
onCheckedChange = { ThemeConfig.useFloatingBottomBar = it }
|
onCheckedChange = { ThemeConfig.useFloatingBottomBar = it }
|
||||||
)
|
)
|
||||||
AnimatedVisibility(visible = ThemeConfig.useFloatingBottomBar) {
|
AnimatedVisibility(visible = ThemeConfig.useFloatingBottomBar) {
|
||||||
SwitchSettingItem(
|
Column(
|
||||||
title = stringResource(R.string.floating_bottom_bar_liquid_glass),
|
verticalArrangement = Arrangement.spacedBy(8.dp)
|
||||||
description = stringResource(R.string.floating_bottom_bar_liquid_glass_summary),
|
) {
|
||||||
checked = ThemeConfig.useFloatingBottomBarLiquidGlass,
|
SwitchSettingItem(
|
||||||
onCheckedChange = { ThemeConfig.useFloatingBottomBarLiquidGlass = it }
|
title = stringResource(R.string.floating_bottom_bar_liquid_glass),
|
||||||
)
|
description = stringResource(R.string.floating_bottom_bar_liquid_glass_summary),
|
||||||
SliderSettingItem(
|
checked = ThemeConfig.useFloatingBottomBarLiquidGlass,
|
||||||
title = "底栏模糊强度",
|
onCheckedChange = { ThemeConfig.useFloatingBottomBarLiquidGlass = it }
|
||||||
description = "控制液态玻璃的扭曲程度",
|
)
|
||||||
value = ThemeConfig.bottomBarLensRadius,
|
SliderSettingItem(
|
||||||
defaultValue = 24f,
|
title = "底栏模糊强度",
|
||||||
valueRange = 0f..50f,
|
description = "控制液态玻璃的扭曲程度",
|
||||||
onValueChange = { ThemeConfig.bottomBarLensRadius = it }
|
value = ThemeConfig.bottomBarLensRadius,
|
||||||
)
|
defaultValue = 24f,
|
||||||
|
valueRange = 0f..50f,
|
||||||
|
onValueChange = { ThemeConfig.bottomBarLensRadius = it }
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
DropdownListSettingItem(
|
DropdownListSettingItem(
|
||||||
title = stringResource(R.string.tabletInterface),
|
title = stringResource(R.string.tabletInterface),
|
||||||
|
|||||||
Reference in new issue
Block a user