mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21: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
+7
-5
@@ -96,11 +96,13 @@ private fun TimelineItemReactionsView(
|
|||||||
},
|
},
|
||||||
addMoreButton = if (userCanSendReaction) {
|
addMoreButton = if (userCanSendReaction) {
|
||||||
{
|
{
|
||||||
MessagesReactionButton(
|
CompositionLocalProvider(LocalLayoutDirection provides currentLayout) {
|
||||||
content = MessagesReactionsButtonContent.Icon(CompoundDrawables.ic_compound_reaction_add),
|
MessagesReactionButton(
|
||||||
onClick = onMoreReactionsClick,
|
content = MessagesReactionsButtonContent.Icon(CompoundDrawables.ic_compound_reaction_add),
|
||||||
onLongClick = {}
|
onClick = onMoreReactionsClick,
|
||||||
)
|
onLongClick = {}
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
null
|
null
|
||||||
|
|||||||
Reference in New Issue
Block a user