mirror of
https://github.com/SimpleMobileTools/Simple-Thank-You.git
synced 2025-06-05 22:09:28 +02:00
updating commons
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user