Use more core-ktx
This commit is contained in:
@@ -31,7 +31,7 @@ class SettingsDebugController : SettingsController() {
|
||||
it.visibility == KVisibility.PUBLIC
|
||||
}.forEach {
|
||||
preference {
|
||||
title = it.name.replace(Regex("(.)(\\p{Upper})"), "$1 $2").toLowerCase(Locale.getDefault()).capitalize(Locale.getDefault())
|
||||
title = it.name.replace("(.)(\\p{Upper})".toRegex(), "$1 $2").toLowerCase(Locale.getDefault()).capitalize(Locale.getDefault())
|
||||
isPersistent = false
|
||||
|
||||
onClick {
|
||||
|
||||
Reference in New Issue
Block a user