Revert commit ed16e3ad
Co-authored-by: Yasan Ghaffarian <y.ghafarian@dariahamrah.ir>
This commit is contained in:
1 parent
9c16436122
commit
2db0c7957f
1 file changed
+7
-1
@@ -149,7 +149,13 @@ class BcSmartspaceCard @JvmOverloads constructor(
|
||||
}
|
||||
}
|
||||
|
||||
private fun isStringRTL(string: String) = string.firstOrNull()?.code in 0x590..0x6ff
|
||||
private fun isStringRTL(string: String): Boolean {
|
||||
if (TextUtils.isEmpty(string)) {
|
||||
return false
|
||||
}
|
||||
val c = string[0]
|
||||
return c.code in 0x590..0x6ff
|
||||
}
|
||||
|
||||
private fun setSubtitle(subtitle: CharSequence?, charSequence2: CharSequence?) {
|
||||
val subtitleView = subtitleTextView ?: return
|
||||
|
||||
Reference in new issue
Block a user