Always show reaction count

Resolves #1983

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2022-05-05 22:51:20 +02:00
parent 0a091ca1cf
commit 8f654937de
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B

View File

@ -75,13 +75,11 @@ class Reaction {
emojiWithAmountWrapper.addView(reactionEmoji) emojiWithAmountWrapper.addView(reactionEmoji)
if (amount > 1) { val reactionAmount = TextView(context)
val reactionAmount = TextView(context) reactionAmount.setTextColor(textColor)
reactionAmount.setTextColor(textColor) reactionAmount.text = amount.toString()
reactionAmount.text = amount.toString() reactionAmount.layoutParams = amountParams
reactionAmount.layoutParams = amountParams emojiWithAmountWrapper.addView(reactionAmount)
emojiWithAmountWrapper.addView(reactionAmount)
}
emojiWithAmountWrapper.layoutParams = wrapperParams emojiWithAmountWrapper.layoutParams = wrapperParams