feat: Display emotes/emojis bigger
This commit is contained in:
parent
d2c883488e
commit
fb101e0796
5 changed files with 17 additions and 8 deletions
|
|
@ -11,13 +11,15 @@ class HtmlMessage extends StatelessWidget {
|
|||
final Room room;
|
||||
final TextStyle defaultTextStyle;
|
||||
final TextStyle linkStyle;
|
||||
final double emoteSize;
|
||||
|
||||
const HtmlMessage(
|
||||
{this.html,
|
||||
this.maxLines,
|
||||
this.room,
|
||||
this.defaultTextStyle,
|
||||
this.linkStyle});
|
||||
this.linkStyle,
|
||||
this.emoteSize});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
|
@ -35,6 +37,7 @@ class HtmlMessage extends StatelessWidget {
|
|||
return Html(
|
||||
data: renderHtml,
|
||||
defaultTextStyle: defaultTextStyle,
|
||||
emoteSize: emoteSize,
|
||||
linkStyle: linkStyle ??
|
||||
themeData.textTheme.bodyText2.copyWith(
|
||||
color: themeData.accentColor,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue