From 3bdea7f98f508d59087e38f1cbe4ececf9478244 Mon Sep 17 00:00:00 2001 From: Jacocococo Date: Sun, 22 Dec 2024 10:56:57 +0100 Subject: [PATCH] Hide reaction emoji keyboard on refresh --- .../ui/displayitems/EmojiReactionsStatusDisplayItem.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/EmojiReactionsStatusDisplayItem.java b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/EmojiReactionsStatusDisplayItem.java index 0650809c6e..e50ad6315d 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/EmojiReactionsStatusDisplayItem.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/EmojiReactionsStatusDisplayItem.java @@ -200,6 +200,8 @@ public void onBind(EmojiReactionsStatusDisplayItem item) { addButton.setVisibility(session.getLocalPreferences().newEmojiReactionButton != AccountLocalPreferences.NewEmojiReactionButton.WITH_REACTIONS ? View.GONE : View.VISIBLE); + if(emojiKeyboard!=null && emojiKeyboard.isVisible()) + emojiKeyboard.toggleKeyboardPopup(null); space.setVisibility(View.GONE); updateVisibility(item.isHidden(), true); imgLoader.updateImages();