Make drawer scrollview non-primary.

This prevents an exception when both the main view and drawer is
visible, if both views are scrollable. It does not seem to impact
behavior at all.
This commit is contained in:
Dain Nilsson 2022-02-09 12:32:34 +01:00
parent 6273c26420
commit 3af44ea19d
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8

View File

@ -25,6 +25,7 @@ class MainPageDrawer extends ConsumerWidget {
return Drawer( return Drawer(
child: ListView( child: ListView(
primary: false, //Prevents conflict with the MainPage scroll view.
children: [ children: [
Padding( Padding(
padding: const EdgeInsets.all(12.0), padding: const EdgeInsets.all(12.0),