From 4ed382a7c49c6ade90512809984ed70459d7f7cf Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 24 Apr 2021 10:06:36 +0200 Subject: [PATCH] Fix appbar brightness --- lib/main.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/main.dart b/lib/main.dart index d425ac9..56ba07f 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -66,7 +66,10 @@ class ComunicApplicationState extends State { theme: (prefs.enableDarkMode ? ThemeData.dark() : ThemeData.fallback()) .copyWith( primaryColor: config().primaryColor, - primaryColorDark: config().primaryColorDark), + primaryColorDark: config().primaryColorDark, + appBarTheme: AppBarTheme( + brightness: Brightness.dark, + )), showPerformanceOverlay: prefs.showPerformancesOverlay, ); }