From 9fede70bec3e8b5e52f3bbdde0efbdfb4bf04780 Mon Sep 17 00:00:00 2001 From: chinosk <2248589280@qq.com> Date: Mon, 24 Jun 2024 16:47:37 +0800 Subject: [PATCH] add missing config item --- .../localify/ui/pages/subPages/AdvancedSettingsPage.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/src/main/java/io/github/chinosk/gakumas/localify/ui/pages/subPages/AdvancedSettingsPage.kt b/app/src/main/java/io/github/chinosk/gakumas/localify/ui/pages/subPages/AdvancedSettingsPage.kt index 1037ddd..127769a 100644 --- a/app/src/main/java/io/github/chinosk/gakumas/localify/ui/pages/subPages/AdvancedSettingsPage.kt +++ b/app/src/main/java/io/github/chinosk/gakumas/localify/ui/pages/subPages/AdvancedSettingsPage.kt @@ -106,6 +106,12 @@ fun AdvanceSettingsPage(modifier: Modifier = Modifier, .sizeIn(maxHeight = screenH), verticalArrangement = Arrangement.spacedBy(12.dp) ) { + item { + GakuSwitch(modifier = modifier, + checked = config.value.enableBreastParam, + text = stringResource(R.string.enable_breast_param) + ) { v -> context?.onEnableBreastParamChanged(v) } + } item { Row(modifier = modifier.fillMaxWidth(), horizontalArrangement = Arrangement.spacedBy(2.dp)) {