Fix crash

This commit is contained in:
nielsandriesse
2021-05-31 13:13:25 +10:00
parent f872c2b9be
commit e1f3362c2a
3 changed files with 41 additions and 45 deletions

View File

@@ -321,6 +321,7 @@ object Util {
@JvmStatic
fun getBoldedString(value: String?): CharSequence {
if (value.isNullOrEmpty()) { return "" }
val spanned = SpannableString(value)
spanned.setSpan(StyleSpan(Typeface.BOLD), 0,
spanned.length,