Compare commits

...
Sign in to create a new pull request.
Author SHA1 Message Date
ad525b338c
fix state events not wrapping
Why did it do this ??????
2026-10-08 10:12:43 -04:00
0010160714
fix bigEmoji causing an overflow in replies 2026-10-08 10:08:33 -04:00
2 changed files with 4 additions and 2 deletions

View file

@ -24,7 +24,7 @@ class const GenericEventRenderer(
], ],
], ],
), ),
maxLines: maxLines ?? 9007199254740991, maxLines: maxLines ?? 999,
overflow: .ellipsis, overflow: .ellipsis,
), ),
), ),

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,
); );