mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-02 20:53:09 +00:00
Always show reaction count
Resolves #1983 Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
0a091ca1cf
commit
8f654937de
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user