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