mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 20:19:42 +01:00
format kotlin
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
a55a5536dc
commit
2df414cb63
@ -88,9 +88,9 @@ class Reaction {
|
|||||||
val paddingSide = DisplayUtils.convertDpToPixel(EMOJI_AND_AMOUNT_PADDING_SIDE, context).toInt()
|
val paddingSide = DisplayUtils.convertDpToPixel(EMOJI_AND_AMOUNT_PADDING_SIDE, context).toInt()
|
||||||
val paddingTop = DisplayUtils.convertDpToPixel(WRAPPER_PADDING_TOP, context).toInt()
|
val paddingTop = DisplayUtils.convertDpToPixel(WRAPPER_PADDING_TOP, context).toInt()
|
||||||
val paddingBottom = DisplayUtils.convertDpToPixel(WRAPPER_PADDING_BOTTOM, context).toInt()
|
val paddingBottom = DisplayUtils.convertDpToPixel(WRAPPER_PADDING_BOTTOM, context).toInt()
|
||||||
if (message.reactionsSelf != null
|
if (message.reactionsSelf != null &&
|
||||||
&& message.reactionsSelf.isNotEmpty()
|
message.reactionsSelf.isNotEmpty() &&
|
||||||
&& message.reactionsSelf.contains(emoji)
|
message.reactionsSelf.contains(emoji)
|
||||||
) {
|
) {
|
||||||
emojiWithAmountWrapper.background =
|
emojiWithAmountWrapper.background =
|
||||||
AppCompatResources.getDrawable(context, R.drawable.reaction_self_background)
|
AppCompatResources.getDrawable(context, R.drawable.reaction_self_background)
|
||||||
|
Loading…
Reference in New Issue
Block a user