fix bigEmoji causing an overflow in replies
This commit is contained in:
parent
f741a6790d
commit
0010160714
1 changed files with 3 additions and 1 deletions
|
|
@ -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,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue