diff options
author | Marcel Hibbe <dev@mhibbe.de> | 2022-09-28 13:22:02 +0300 |
---|---|---|
committer | Marcel Hibbe <dev@mhibbe.de> | 2022-09-28 13:22:02 +0300 |
commit | 4f16e5be0a1581190f591bffc88ad7bf1135e100 (patch) | |
tree | 200e98d9761e9398ab20524f28e8a500658de7d2 /app/src | |
parent | e26a7a7bebb769212b05aec9f7f230250a21cfa6 (diff) |
fix to show reactionsEmojiWrapper
with commit 0f35e360 it was implemented to hide the reactionsEmojiWrapper when no emojis are set for a message.
whenever a emoji was added, it was actually not shown because the wrapper was still hidden.
with the fix, the wrapper is made visible again
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/com/nextcloud/talk/adapters/messages/Reaction.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/com/nextcloud/talk/adapters/messages/Reaction.kt b/app/src/main/java/com/nextcloud/talk/adapters/messages/Reaction.kt index 19ddb50eb..1884bc2e0 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/messages/Reaction.kt +++ b/app/src/main/java/com/nextcloud/talk/adapters/messages/Reaction.kt @@ -47,6 +47,7 @@ class Reaction { ) { binding.reactionsEmojiWrapper.removeAllViews() if (message.reactions != null && message.reactions!!.isNotEmpty()) { + binding.reactionsEmojiWrapper.visibility = View.VISIBLE var remainingEmojisToDisplay = MAX_EMOJIS_TO_DISPLAY val showInfoAboutMoreEmojis = message.reactions!!.size > MAX_EMOJIS_TO_DISPLAY |