Hopefully fix font size & link colour
This commit is contained in:
parent
da460268c7
commit
1762236716
3 changed files with 23 additions and 8 deletions
|
|
@ -51,7 +51,10 @@ class MessageContent extends StatelessWidget {
|
|||
}
|
||||
return HtmlMessage(
|
||||
html: html,
|
||||
textColor: textColor,
|
||||
defaultTextStyle: TextStyle(
|
||||
color: textColor,
|
||||
fontSize: DefaultTextStyle.of(context).style.fontSize,
|
||||
),
|
||||
room: event.room,
|
||||
);
|
||||
}
|
||||
|
|
@ -79,6 +82,7 @@ class MessageContent extends StatelessWidget {
|
|||
text: event.getLocalizedBody(L10n.of(context), hideReply: true),
|
||||
textStyle: TextStyle(
|
||||
color: textColor,
|
||||
fontSize: DefaultTextStyle.of(context).style.fontSize,
|
||||
decoration: event.redacted ? TextDecoration.lineThrough : null,
|
||||
),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue