Clean up dark mode

This commit is contained in:
Christian Pauly 2020-02-16 20:11:39 +01:00
commit ea71a97e45
8 changed files with 65 additions and 49 deletions

View file

@ -114,8 +114,15 @@ class _SettingsState extends State<Settings> {
pinned: true,
backgroundColor: Theme.of(context).appBarTheme.color,
flexibleSpace: FlexibleSpaceBar(
title: Text(I18n.of(context).settings,
style: TextStyle(color: Colors.black)),
title: Text(
I18n.of(context).settings,
style: TextStyle(
color: Theme.of(context)
.appBarTheme
.textTheme
.headline6
.color),
),
background: ContentBanner(
profile?.avatarUrl ?? MxContent(""),
height: 300,