Message: Keep consistent meta position for emoji only text (#3626)

This commit is contained in:
Alexander Zinchuk 2023-07-20 17:53:19 +02:00
parent 13ead44f1e
commit 6aa4d20458

View File

@ -642,7 +642,7 @@ const Message: FC<OwnProps & StateProps> = ({
metaPosition = 'none';
} else if (isInDocumentGroupNotLast) {
metaPosition = 'none';
} else if (hasText && !webPage && !hasAnimatedEmoji) {
} else if (hasText && !webPage && !emojiSize) {
metaPosition = 'in-text';
} else {
metaPosition = 'standalone';