Merge branch 'LawnchairLauncher:12.1-dev' into 12.1-dev

This commit is contained in:
SuperDragonXD
2022-06-21 16:23:57 +08:00
committed by GitHub
@@ -149,13 +149,7 @@ class BcSmartspaceCard @JvmOverloads constructor(
}
}
private fun isStringRTL(string: String): Boolean {
if (TextUtils.isEmpty(string)) {
return false
}
val c = string[0]
return c.code in 0x590..0x6ff
}
private fun isStringRTL(string: String) = string.firstOrNull()?.code in 0x590..0x6ff
private fun setSubtitle(subtitle: CharSequence?, charSequence2: CharSequence?) {
val subtitleView = subtitleTextView ?: return