Fix deprecations

This commit is contained in:
Christian Pauly
2020-05-06 18:43:30 +02:00
parent 2f79d4b5c7
commit 71e0d88205
9 changed files with 21 additions and 13 deletions

View File

@ -24,7 +24,7 @@ class StateMessage extends StatelessWidget {
event.getLocalizedBody(I18n.of(context)),
textAlign: TextAlign.center,
style: TextStyle(
color: Theme.of(context).textTheme.body1.color,
color: Theme.of(context).textTheme.bodyText2.color,
decoration: event.redacted ? TextDecoration.lineThrough : null,
),
),