diff --git a/lib/views/chat_details.dart b/lib/views/chat_details.dart index e006d4b..0aa0f49 100644 --- a/lib/views/chat_details.dart +++ b/lib/views/chat_details.dart @@ -203,11 +203,8 @@ class _ChatDetailsState extends State { ], title: Text(widget.room.getLocalizedDisplayname(context), style: TextStyle( - color: Theme.of(context) - .appBarTheme - .textTheme - .headline6 - .color)), + color: + Theme.of(context).appBarTheme.textTheme.title.color)), backgroundColor: Theme.of(context).appBarTheme.color, flexibleSpace: FlexibleSpaceBar( background: ContentBanner(widget.room.avatar, diff --git a/lib/views/settings.dart b/lib/views/settings.dart index 31d2593..c32b18f 100644 --- a/lib/views/settings.dart +++ b/lib/views/settings.dart @@ -117,11 +117,7 @@ class _SettingsState extends State { title: Text( I18n.of(context).settings, style: TextStyle( - color: Theme.of(context) - .appBarTheme - .textTheme - .headline6 - .color), + color: Theme.of(context).appBarTheme.textTheme.title.color), ), background: ContentBanner( profile?.avatarUrl ?? MxContent(""),