1
0
mirror of https://github.com/git-touch/git-touch synced 2024-12-18 19:22:54 +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(
brightness: theme.brightnessEnum,
primaryColor: Colors.white,
primaryColor: theme.palette.background,
);
// TODO:
@ -182,7 +182,6 @@ class _HomeState extends State<Home> {
home: Scaffold(
body: _buildScreen(active),
bottomNavigationBar: BottomNavigationBar(
backgroundColor: Colors.white,
selectedItemColor: theme.palette.primary,
items: _navigationItems,
currentIndex: active,