mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-28 09:38:14 +03: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
1 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue