mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-27 01:02:14 +08:00
Stop overwriting the default divider color
It can be configured from the theme if I want it to be different. The light grey actually seems fine, for now.
This commit is contained in:
@ -39,12 +39,7 @@ class AppDrawer extends StatelessWidget {
|
||||
);
|
||||
}
|
||||
|
||||
var divider = Row(children: <Widget>[
|
||||
Expanded(
|
||||
child: Divider(
|
||||
color: Theme.of(context).primaryColorLight,
|
||||
))
|
||||
]);
|
||||
var divider = Row(children: <Widget>[const Expanded(child: Divider())]);
|
||||
|
||||
return Drawer(
|
||||
child: ListView(
|
||||
|
@ -39,9 +39,7 @@ class JournalList extends StatelessWidget {
|
||||
|
||||
return ListView.separated(
|
||||
separatorBuilder: (context, index) {
|
||||
return Divider(
|
||||
color: Theme.of(context).primaryColorLight,
|
||||
);
|
||||
return const Divider();
|
||||
},
|
||||
itemBuilder: (context, i) {
|
||||
if (i >= notes.length) {
|
||||
|
Reference in New Issue
Block a user