From d4eb744241a39e1f34ea990234f002450cebf0fe Mon Sep 17 00:00:00 2001 From: fruyek Date: Sat, 25 Feb 2023 21:27:54 +0100 Subject: [PATCH] Perform unicode text isolation on user names in post edit history view (#3342) --- .../tusky/components/viewthread/edits/ViewEditsAdapter.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/components/viewthread/edits/ViewEditsAdapter.kt b/app/src/main/java/com/keylesspalace/tusky/components/viewthread/edits/ViewEditsAdapter.kt index 931f88b8..88396bce 100644 --- a/app/src/main/java/com/keylesspalace/tusky/components/viewthread/edits/ViewEditsAdapter.kt +++ b/app/src/main/java/com/keylesspalace/tusky/components/viewthread/edits/ViewEditsAdapter.kt @@ -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)