unselect add button on bind

closes sk22#830
This commit is contained in:
sk 2023-10-07 17:52:39 +02:00
parent 67e3a5bb47
commit d96d4dd581
1 changed files with 1 additions and 0 deletions

View File

@ -170,6 +170,7 @@ public class EmojiReactionsStatusDisplayItem extends StatusDisplayItem {
@Override @Override
public void onBind(EmojiReactionsStatusDisplayItem item) { public void onBind(EmojiReactionsStatusDisplayItem item) {
if(emojiKeyboard != null) root.removeView(emojiKeyboard.getView()); if(emojiKeyboard != null) root.removeView(emojiKeyboard.getView());
addButton.setSelected(false);
AccountSession session=item.parentFragment.getSession(); AccountSession session=item.parentFragment.getSession();
item.status.reactions.forEach(r->r.request=r.getUrl(item.playGifs)!=null item.status.reactions.forEach(r->r.request=r.getUrl(item.playGifs)!=null
? new UrlImageLoaderRequest(r.getUrl(item.playGifs), V.sp(24), V.sp(24)) ? new UrlImageLoaderRequest(r.getUrl(item.playGifs), V.sp(24), V.sp(24))