mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 10:32:34 +00:00
Fix regression due to icon now supports RTL.
This commit is contained in:
committed by
Benoit Marty
parent
76e8e8ffae
commit
a7328c705c
+2
@@ -96,12 +96,14 @@ private fun TimelineItemReactionsView(
|
||||
},
|
||||
addMoreButton = if (userCanSendReaction) {
|
||||
{
|
||||
CompositionLocalProvider(LocalLayoutDirection provides currentLayout) {
|
||||
MessagesReactionButton(
|
||||
content = MessagesReactionsButtonContent.Icon(CompoundDrawables.ic_compound_reaction_add),
|
||||
onClick = onMoreReactionsClick,
|
||||
onLongClick = {}
|
||||
)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
null
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user