mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 18:22:39 +03:00
Fix duplicate FileDropTarget
.
This commit is contained in:
parent
5462ffe6c5
commit
a7984a5e4e
@ -295,20 +295,7 @@ class AppPage extends StatelessWidget {
|
||||
],
|
||||
),
|
||||
drawer: hasDrawer ? _buildDrawer(context) : null,
|
||||
body: onFileDropped != null && !hasRail
|
||||
? Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: [
|
||||
Expanded(
|
||||
child: FileDropTarget(
|
||||
onFileDropped: onFileDropped!,
|
||||
overlay: fileDropOverlay!,
|
||||
child: body,
|
||||
),
|
||||
)
|
||||
],
|
||||
)
|
||||
: body,
|
||||
body: body,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user