mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-01-16 23:02:23 -08:00
Removed Kotpref and replaced it with PreferenceModel
This commit is contained in:
committed by
John Wu
parent
28efded624
commit
d1dfda405f
@@ -18,4 +18,6 @@ fun StringBuilder.appendIf(condition: Boolean, builder: StringBuilder.() -> Unit
|
||||
fun Int.res(vararg args: Any): String {
|
||||
val resources: Resources by inject()
|
||||
return resources.getString(this, *args)
|
||||
}
|
||||
}
|
||||
|
||||
fun String.trimEmptyToNull(): String? = if (isBlank()) null else this
|
||||
Reference in New Issue
Block a user