diff --git a/app/src/main/kotlin/com/simplemobiletools/thankyou/screens/SettingsScreen.kt b/app/src/main/kotlin/com/simplemobiletools/thankyou/screens/SettingsScreen.kt index 0b42068..96ab67a 100644 --- a/app/src/main/kotlin/com/simplemobiletools/thankyou/screens/SettingsScreen.kt +++ b/app/src/main/kotlin/com/simplemobiletools/thankyou/screens/SettingsScreen.kt @@ -32,7 +32,7 @@ internal fun SettingsScreen( SettingsTitleTextComponent(text = stringResource(id = R.string.color_customization)) }) { SettingsPreferenceComponent( - preferenceTitle = stringResource(id = R.string.customize_colors), + label = stringResource(id = R.string.customize_colors), doOnPreferenceClick = customizeColors, ) } @@ -43,21 +43,21 @@ internal fun SettingsScreen( if (isUseEnglishEnabled) { SettingsCheckBoxComponent( - title = stringResource(id = R.string.use_english_language), + label = stringResource(id = R.string.use_english_language), initialValue = isUseEnglishChecked, onChange = onUseEnglishPress, ) } if (isTiramisuPlus()) { SettingsPreferenceComponent( - preferenceTitle = stringResource(id = R.string.language), - preferenceSummary = displayLanguage, + label = stringResource(id = R.string.language), + value = displayLanguage, doOnPreferenceClick = onSetupLanguagePress, - preferenceSummaryColor = MaterialTheme.colorScheme.onSurface, + preferenceLabelColor = MaterialTheme.colorScheme.onSurface, ) } SettingsCheckBoxComponent( - title = stringResource(id = com.simplemobiletools.thankyou.R.string.hide_launcher_icon), + label = stringResource(id = com.simplemobiletools.thankyou.R.string.hide_launcher_icon), initialValue = isHidingLauncherIcon, onChange = hideLauncherIconClick, ) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 3ecec04..747c3e4 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -2,7 +2,7 @@ #jetbrains kotlin = "1.9.10" #Simple tools -simple-commons = "c6094c0db2" +simple-commons = "b7dd6ad428" #Compose composeActivity = "1.8.0-beta01" compose = "1.6.0-alpha05"