mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-27 04:45:08 +01:00
Reactions: Fix buttons position in forwarded message (#1655)
This commit is contained in:
parent
e7912b1433
commit
417745a998
@ -479,8 +479,11 @@ const Message: FC<OwnProps & StateProps> = ({
|
||||
if (areReactionsInMeta) {
|
||||
reactionsPosition = 'in-meta';
|
||||
} else if (reactionMessage?.reactions && !areReactionsEmpty(reactionMessage.reactions)) {
|
||||
if (asForwarded || customShape || ((photo || video || hasAnimatedEmoji) && !textParts)) {
|
||||
if (customShape || ((photo || video || hasAnimatedEmoji) && !textParts)) {
|
||||
reactionsPosition = 'outside';
|
||||
} else if (asForwarded) {
|
||||
metaPosition = 'standalone';
|
||||
reactionsPosition = 'inside';
|
||||
} else {
|
||||
reactionsPosition = 'inside';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user