mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01:00
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>
This commit is contained in:
parent
e26a7a7beb
commit
4f16e5be0a
@ -47,6 +47,7 @@ class Reaction {
|
|||||||
) {
|
) {
|
||||||
binding.reactionsEmojiWrapper.removeAllViews()
|
binding.reactionsEmojiWrapper.removeAllViews()
|
||||||
if (message.reactions != null && message.reactions!!.isNotEmpty()) {
|
if (message.reactions != null && message.reactions!!.isNotEmpty()) {
|
||||||
|
binding.reactionsEmojiWrapper.visibility = View.VISIBLE
|
||||||
|
|
||||||
var remainingEmojisToDisplay = MAX_EMOJIS_TO_DISPLAY
|
var remainingEmojisToDisplay = MAX_EMOJIS_TO_DISPLAY
|
||||||
val showInfoAboutMoreEmojis = message.reactions!!.size > MAX_EMOJIS_TO_DISPLAY
|
val showInfoAboutMoreEmojis = message.reactions!!.size > MAX_EMOJIS_TO_DISPLAY
|
||||||
|
Loading…
Reference in New Issue
Block a user