mirror of
https://github.com/git-touch/git-touch
synced 2025-01-31 08:04:51 +01:00
fix: material style
This commit is contained in:
parent
19faf20fb1
commit
91d7a93575
@ -16,7 +16,13 @@ class MyApp extends StatelessWidget {
|
||||
);
|
||||
default:
|
||||
return MaterialApp(
|
||||
theme: ThemeData(brightness: theme.brightness),
|
||||
theme: ThemeData(
|
||||
brightness: theme.brightness,
|
||||
primaryColor:
|
||||
theme.brightness == Brightness.dark ? null : Colors.white,
|
||||
accentColor: theme.paletteOf(context).primary,
|
||||
scaffoldBackgroundColor: theme.paletteOf(context).background,
|
||||
),
|
||||
home: Home(),
|
||||
);
|
||||
}
|
||||
|
@ -141,7 +141,7 @@ class _HomeState extends State<Home> {
|
||||
return Scaffold(
|
||||
body: _buildScreen(active),
|
||||
bottomNavigationBar: BottomNavigationBar(
|
||||
// selectedItemColor: theme.paletteOf(context).primary,
|
||||
selectedItemColor: theme.paletteOf(context).primary,
|
||||
items: _navigationItems,
|
||||
currentIndex: active,
|
||||
type: BottomNavigationBarType.fixed,
|
||||
|
Loading…
x
Reference in New Issue
Block a user