Perform unicode text isolation on user names in post edit history view (#3342)
This commit is contained in:
parent
2e189a17dc
commit
d4eb744241
1 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@ import com.keylesspalace.tusky.util.loadAvatar
|
||||||
import com.keylesspalace.tusky.util.parseAsMastodonHtml
|
import com.keylesspalace.tusky.util.parseAsMastodonHtml
|
||||||
import com.keylesspalace.tusky.util.setClickableText
|
import com.keylesspalace.tusky.util.setClickableText
|
||||||
import com.keylesspalace.tusky.util.show
|
import com.keylesspalace.tusky.util.show
|
||||||
|
import com.keylesspalace.tusky.util.unicodeWrap
|
||||||
import com.keylesspalace.tusky.util.visible
|
import com.keylesspalace.tusky.util.visible
|
||||||
import com.keylesspalace.tusky.viewdata.toViewData
|
import com.keylesspalace.tusky.viewdata.toViewData
|
||||||
|
|
||||||
|
@ -72,7 +73,7 @@ class ViewEditsAdapter(
|
||||||
|
|
||||||
binding.statusEditInfo.text = context.getString(
|
binding.statusEditInfo.text = context.getString(
|
||||||
infoStringRes,
|
infoStringRes,
|
||||||
edit.account.name,
|
edit.account.name.unicodeWrap(),
|
||||||
timestamp
|
timestamp
|
||||||
).emojify(edit.account.emojis, binding.statusEditInfo, animateEmojis)
|
).emojify(edit.account.emojis, binding.statusEditInfo, animateEmojis)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue