From 80ab94df53d2b6cb1675a9114841983a815ec186 Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Tue, 14 Jan 2020 14:52:14 +0800 Subject: [PATCH] fix: material dark mode --- lib/main.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index d9c3367..352de3e 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -145,7 +145,7 @@ class _HomeState extends State { final themData = ThemeData( brightness: theme.brightnessEnum, - primaryColor: Colors.white, + primaryColor: theme.palette.background, ); // TODO: @@ -182,7 +182,6 @@ class _HomeState extends State { home: Scaffold( body: _buildScreen(active), bottomNavigationBar: BottomNavigationBar( - backgroundColor: Colors.white, selectedItemColor: theme.palette.primary, items: _navigationItems, currentIndex: active,