1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-21 20:39:22 +00:00

Fix appbar brightness

This commit is contained in:
Pierre HUBERT 2021-04-24 10:06:36 +02:00
parent e3ccef537a
commit 4ed382a7c4

View File

@ -66,7 +66,10 @@ class ComunicApplicationState extends State<ComunicApplication> {
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,
);
}