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)
if (amount > 1) {
val reactionAmount = TextView(context)
reactionAmount.setTextColor(textColor)
reactionAmount.text = amount.toString()
reactionAmount.layoutParams = amountParams
emojiWithAmountWrapper.addView(reactionAmount)
}
val reactionAmount = TextView(context)
reactionAmount.setTextColor(textColor)
reactionAmount.text = amount.toString()
reactionAmount.layoutParams = amountParams
emojiWithAmountWrapper.addView(reactionAmount)
emojiWithAmountWrapper.layoutParams = wrapperParams