diff --git a/concrete/src/main/kotlin/glass/yasan/concrete/component/preference/PreferenceButton.kt b/concrete/src/main/kotlin/glass/yasan/concrete/component/preference/PreferenceButton.kt index 87f0973..8396d83 100644 --- a/concrete/src/main/kotlin/glass/yasan/concrete/component/preference/PreferenceButton.kt +++ b/concrete/src/main/kotlin/glass/yasan/concrete/component/preference/PreferenceButton.kt @@ -21,11 +21,12 @@ public fun PreferenceButton( endIcon: ImageVector? = null, description: String? = null, enabled: Boolean = true, + uppercaseTitle: Boolean = false, ) { Preference( title = { Text( - text = title, + text = if (uppercaseTitle) title.uppercase() else title, color = ConcreteTheme.colors.content.major, fontSize = 16.sp, )