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))
|
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,
|
||||||
)
|
)
|
||||||
|
@@ -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"
|
||||||
|
Reference in New Issue
Block a user