fix bigEmoji causing an overflow in replies

This commit is contained in:
Henry Hiles 2026-10-08 10:08:33 -04:00
commit 0010160714
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -38,7 +38,9 @@ class const MessageRenderer(
final errorStyle = TextStyle(color: colorScheme.error); final errorStyle = TextStyle(color: colorScheme.error);
final textStyle = TextStyle( final textStyle = TextStyle(
fontSize: event.localContent?.bigEmoji == true ? 32 : null, fontSize: event.localContent?.bigEmoji == true && maxLines != 1
? 32
: null,
fontStyle: event.content is EmoteMessageContent ? .italic : null, fontStyle: event.content is EmoteMessageContent ? .italic : null,
); );