Merge pull request #2437 from nextcloud/bugfix/2432/fixToShowReactions

fix to show reactionsEmojiWrapper
This commit is contained in:
Andy Scherzinger 2022-09-28 21:18:53 +02:00 committed by GitHub
commit d264bb2c1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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