diff --git a/lib/presentation/pages/notes/note_form/note_form_page.dart b/lib/presentation/pages/notes/note_form/note_form_page.dart index 9400cf0..7f97dc8 100644 --- a/lib/presentation/pages/notes/note_form/note_form_page.dart +++ b/lib/presentation/pages/notes/note_form/note_form_page.dart @@ -100,7 +100,7 @@ class SavingInProgressOverlay extends StatelessWidget { Text( 'Saving', // Not within a Scaffold. We have to get the TextStyle from a theme ourselves. - style: Theme.of(context).textTheme.bodyText2.copyWith( + style: Theme.of(context).textTheme.body2.copyWith( color: Colors.white, fontSize: 16, ), diff --git a/lib/presentation/pages/notes/notes_overview/widgets/error_note_card_widget.dart b/lib/presentation/pages/notes/notes_overview/widgets/error_note_card_widget.dart index 0a0bad6..3806c0f 100644 --- a/lib/presentation/pages/notes/notes_overview/widgets/error_note_card_widget.dart +++ b/lib/presentation/pages/notes/notes_overview/widgets/error_note_card_widget.dart @@ -22,19 +22,19 @@ class ErrorNoteCard extends StatelessWidget { textAlign: TextAlign.center, style: Theme.of(context) .primaryTextTheme - .bodyText2 + .body2 .copyWith(fontSize: 18), ), const SizedBox(height: 2), Text( 'Details for nerds:', textAlign: TextAlign.center, - style: Theme.of(context).primaryTextTheme.bodyText2, + style: Theme.of(context).primaryTextTheme.body2, ), Text( note.failureOption.fold(() => '', (f) => f.toString()), textAlign: TextAlign.center, - style: Theme.of(context).primaryTextTheme.bodyText2, + style: Theme.of(context).primaryTextTheme.body2, ), ], ),