updating commons

This commit is contained in:
tibbi 2023-10-02 15:36:20 +02:00
parent 797bcc497c
commit 2d350e14cd
2 changed files with 7 additions and 7 deletions

View File

@ -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,
)

View File

@ -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"