Fix regression due to icon now supports RTL.
This commit is contained in:
parent
5ede66afc0
commit
1fd703fa67
1 changed files with 7 additions and 5 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue