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)) SettingsTitleTextComponent(text = stringResource(id = R.string.color_customization))
}) { }) {
SettingsPreferenceComponent( SettingsPreferenceComponent(
preferenceTitle = stringResource(id = R.string.customize_colors), label = stringResource(id = R.string.customize_colors),
doOnPreferenceClick = customizeColors, doOnPreferenceClick = customizeColors,
) )
} }
@ -43,21 +43,21 @@ internal fun SettingsScreen(
if (isUseEnglishEnabled) { if (isUseEnglishEnabled) {
SettingsCheckBoxComponent( SettingsCheckBoxComponent(
title = stringResource(id = R.string.use_english_language), label = stringResource(id = R.string.use_english_language),
initialValue = isUseEnglishChecked, initialValue = isUseEnglishChecked,
onChange = onUseEnglishPress, onChange = onUseEnglishPress,
) )
} }
if (isTiramisuPlus()) { if (isTiramisuPlus()) {
SettingsPreferenceComponent( SettingsPreferenceComponent(
preferenceTitle = stringResource(id = R.string.language), label = stringResource(id = R.string.language),
preferenceSummary = displayLanguage, value = displayLanguage,
doOnPreferenceClick = onSetupLanguagePress, doOnPreferenceClick = onSetupLanguagePress,
preferenceSummaryColor = MaterialTheme.colorScheme.onSurface, preferenceLabelColor = MaterialTheme.colorScheme.onSurface,
) )
} }
SettingsCheckBoxComponent( 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, initialValue = isHidingLauncherIcon,
onChange = hideLauncherIconClick, onChange = hideLauncherIconClick,
) )

View File

@ -2,7 +2,7 @@
#jetbrains #jetbrains
kotlin = "1.9.10" kotlin = "1.9.10"
#Simple tools #Simple tools
simple-commons = "c6094c0db2" simple-commons = "b7dd6ad428"
#Compose #Compose
composeActivity = "1.8.0-beta01" composeActivity = "1.8.0-beta01"
compose = "1.6.0-alpha05" compose = "1.6.0-alpha05"