feat: display custom emoji in reply button
This commit is contained in:
parent
ad1de60968
commit
685e6e947f
|
@ -414,7 +414,8 @@ public class ThreadFragment extends StatusListFragment implements ProvidesAssist
|
|||
replyButtonAva=replyButton.findViewById(R.id.avatar);
|
||||
replyButton.setOutlineProvider(OutlineProviders.roundedRect(20));
|
||||
replyButton.setClipToOutline(true);
|
||||
replyButtonText.setText(getString(R.string.reply_to_user, mainStatus.account.displayName));
|
||||
replyButtonText.setText(HtmlParser.parseCustomEmoji(getString(R.string.reply_to_user, mainStatus.account.displayName), mainStatus.account.emojis));
|
||||
UiUtils.loadCustomEmojiInTextView(replyButtonText);
|
||||
replyButtonAva.setOutlineProvider(OutlineProviders.OVAL);
|
||||
replyButtonAva.setClipToOutline(true);
|
||||
replyButton.setOnClickListener(v->openReply());
|
||||
|
|
Loading…
Reference in New Issue