Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
ad525b338c |
|||
|
0010160714 |
2 changed files with 4 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ class const GenericEventRenderer(
|
|||
],
|
||||
],
|
||||
),
|
||||
maxLines: maxLines ?? 9007199254740991,
|
||||
maxLines: maxLines ?? 999,
|
||||
overflow: .ellipsis,
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -38,7 +38,9 @@ class const MessageRenderer(
|
|||
final errorStyle = TextStyle(color: colorScheme.error);
|
||||
|
||||
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,
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue