mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 02:07:39 +08:00
DrawerHeader: Use highlight color for header background
It's nearly the same color in a light theme, but in a dark theme it looks way better.
This commit is contained in:
@ -43,7 +43,7 @@ class AppDrawer extends StatelessWidget {
|
|||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
DrawerHeader(
|
DrawerHeader(
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: Theme.of(context).buttonColor,
|
color: Theme.of(context).highlightColor,
|
||||||
),
|
),
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
|
Reference in New Issue
Block a user