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

@ -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(),