Skip to content

Commit

Permalink
Merge pull request #356
Browse files Browse the repository at this point in the history
feat: display custom emoji in reply button
  • Loading branch information
LucasGGamerM authored Mar 17, 2024
2 parents 4a13398 + 685e6e9 commit 6b5344b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,8 @@ public void onViewCreated(View view, Bundle savedInstanceState){
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());
Expand Down

0 comments on commit 6b5344b

Please sign in to comment.