mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 10:17:16 +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>[
|
var divider = Row(children: <Widget>[const Expanded(child: Divider())]);
|
||||||
Expanded(
|
|
||||||
child: Divider(
|
|
||||||
color: Theme.of(context).primaryColorLight,
|
|
||||||
))
|
|
||||||
]);
|
|
||||||
|
|
||||||
return Drawer(
|
return Drawer(
|
||||||
child: ListView(
|
child: ListView(
|
||||||
|
@ -39,9 +39,7 @@ class JournalList extends StatelessWidget {
|
|||||||
|
|
||||||
return ListView.separated(
|
return ListView.separated(
|
||||||
separatorBuilder: (context, index) {
|
separatorBuilder: (context, index) {
|
||||||
return Divider(
|
return const Divider();
|
||||||
color: Theme.of(context).primaryColorLight,
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
itemBuilder: (context, i) {
|
itemBuilder: (context, i) {
|
||||||
if (i >= notes.length) {
|
if (i >= notes.length) {
|
||||||
|
Reference in New Issue
Block a user