Fix deprecations

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

View file

@ -80,7 +80,7 @@ class _RecordingDialogState extends State<RecordingDialog> {
child: Text(
I18n.of(context).cancel.toUpperCase(),
style: TextStyle(
color: Theme.of(context).textTheme.body1.color.withAlpha(150),
color: Theme.of(context).textTheme.bodyText2.color.withAlpha(150),
),
),
onPressed: () => Navigator.of(context).pop(),