This commit is contained in:
Christian Pauly
2020-05-05 14:55:19 +02:00
parent c396e10ea7
commit e02a8d294e
12 changed files with 123 additions and 119 deletions

View File

@ -58,7 +58,7 @@ class MessageContent extends StatelessWidget {
);
}
return LinkText(
text: event.getLocalizedBody(context, hideReply: true),
text: event.getLocalizedBody(I18n.of(context), hideReply: true),
textStyle: TextStyle(
color: textColor,
decoration: event.redacted ? TextDecoration.lineThrough : null,