Hopefully fix font size & link colour

This commit is contained in:
Sorunome 2020-05-15 05:47:32 +00:00 committed by Christian Pauly
commit 1762236716
3 changed files with 23 additions and 8 deletions

View file

@ -29,9 +29,12 @@ class ReplyContent extends StatelessWidget {
}
replyBody = HtmlMessage(
html: html,
textColor: lightText
defaultTextStyle: TextStyle(
color: lightText
? Colors.white
: Theme.of(context).textTheme.bodyText2.color,
fontSize: DefaultTextStyle.of(context).style.fontSize,
),
maxLines: 1,
room: replyEvent.room,
);
@ -46,9 +49,11 @@ class ReplyContent extends StatelessWidget {
overflow: TextOverflow.ellipsis,
maxLines: 1,
style: TextStyle(
color: lightText
? Colors.white
: Theme.of(context).textTheme.bodyText2.color),
color: lightText
? Colors.white
: Theme.of(context).textTheme.bodyText2.color,
fontSize: DefaultTextStyle.of(context).style.fontSize,
),
);
}
return Row(