浏览代码

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

fix to show reactionsEmojiWrapper
Andy Scherzinger 2 年之前
父节点
当前提交
d264bb2c1d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/src/main/java/com/nextcloud/talk/adapters/messages/Reaction.kt

+ 1 - 0
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