mirror of
https://github.com/nextcloud/talk-android
synced 2025-01-18 05:01:28 +00:00
style(reactions): Align reactions with text for preview messages
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
9e7996b766
commit
b26b598a6c
@ -150,6 +150,7 @@ abstract class PreviewMessageViewHolder(itemView: View?, payload: Any?) :
|
||||
messageText.text = ""
|
||||
}
|
||||
itemView.setTag(R.string.replyable_message_view_tag, message.replyable)
|
||||
val paddingSide = DisplayUtils.convertDpToPixel(8.0f, context!!).toInt()
|
||||
Reaction().showReactions(
|
||||
message,
|
||||
::clickOnReaction,
|
||||
@ -159,6 +160,7 @@ abstract class PreviewMessageViewHolder(itemView: View?, payload: Any?) :
|
||||
true,
|
||||
viewThemeUtils!!
|
||||
)
|
||||
reactionsBinding!!.reactionsEmojiWrapper.setPadding(paddingSide,0,paddingSide,0)
|
||||
|
||||
if (userAvatar != null) {
|
||||
if (message.isGrouped || message.isOneToOneConversation) {
|
||||
|
Loading…
Reference in New Issue
Block a user