Migrate to emoji2

This commit is contained in:
Mygod
2021-10-30 00:17:22 -04:00
parent c4b3362ee0
commit b866b6b707
7 changed files with 9 additions and 17 deletions

View File

@@ -45,7 +45,7 @@ open class Client(val mac: MacAddressCompat, val iface: String) {
SpannableStringBuilder(if (record.nickname.isEmpty()) {
if (record.macLookupPending) MacLookup.perform(mac)
macIface
} else emojize(record.nickname)).apply {
} else record.nickname).apply {
if (record.blocked) setSpan(StrikethroughSpan(), 0, length, Spanned.SPAN_INCLUSIVE_INCLUSIVE)
}
}