mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-22 17:51:29 +03:00
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:
parent
6273c26420
commit
3af44ea19d
@ -25,6 +25,7 @@ class MainPageDrawer extends ConsumerWidget {
|
||||
|
||||
return Drawer(
|
||||
child: ListView(
|
||||
primary: false, //Prevents conflict with the MainPage scroll view.
|
||||
children: [
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(12.0),
|
||||
|
Loading…
Reference in New Issue
Block a user