fix: material dark mode

This commit is contained in:
Rongjian Zhang 2020-01-14 14:52:14 +08:00
parent 7b78e660cb
commit 80ab94df53
1 changed files with 1 additions and 2 deletions

View File

@ -145,7 +145,7 @@ class _HomeState extends State<Home> {
final themData = ThemeData( final themData = ThemeData(
brightness: theme.brightnessEnum, brightness: theme.brightnessEnum,
primaryColor: Colors.white, primaryColor: theme.palette.background,
); );
// TODO: // TODO:
@ -182,7 +182,6 @@ class _HomeState extends State<Home> {
home: Scaffold( home: Scaffold(
body: _buildScreen(active), body: _buildScreen(active),
bottomNavigationBar: BottomNavigationBar( bottomNavigationBar: BottomNavigationBar(
backgroundColor: Colors.white,
selectedItemColor: theme.palette.primary, selectedItemColor: theme.palette.primary,
items: _navigationItems, items: _navigationItems,
currentIndex: active, currentIndex: active,