Perform unicode text isolation on user names in post edit history view (#3342)

This commit is contained in:
fruyek 2023-02-25 21:27:54 +01:00 committed by GitHub
parent 2e189a17dc
commit d4eb744241
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@ import com.keylesspalace.tusky.util.loadAvatar
import com.keylesspalace.tusky.util.parseAsMastodonHtml
import com.keylesspalace.tusky.util.setClickableText
import com.keylesspalace.tusky.util.show
import com.keylesspalace.tusky.util.unicodeWrap
import com.keylesspalace.tusky.util.visible
import com.keylesspalace.tusky.viewdata.toViewData
@ -72,7 +73,7 @@ class ViewEditsAdapter(
binding.statusEditInfo.text = context.getString(
infoStringRes,
edit.account.name,
edit.account.name.unicodeWrap(),
timestamp
).emojify(edit.account.emojis, binding.statusEditInfo, animateEmojis)