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