1
0
mirror of https://github.com/git-touch/git-touch synced 2024-12-24 06:42:07 +01:00

fix: material dark mode

This commit is contained in:
Rongjian Zhang 2020-01-14 14:52:14 +08:00
parent 7b78e660cb
commit 80ab94df53

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,