mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-24 02:33:44 +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,
|
drawer: hasDrawer ? _buildDrawer(context) : null,
|
||||||
body: onFileDropped != null && !hasRail
|
body: body,
|
||||||
? Row(
|
|
||||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
|
||||||
children: [
|
|
||||||
Expanded(
|
|
||||||
child: FileDropTarget(
|
|
||||||
onFileDropped: onFileDropped!,
|
|
||||||
overlay: fileDropOverlay!,
|
|
||||||
child: body,
|
|
||||||
),
|
|
||||||
)
|
|
||||||
],
|
|
||||||
)
|
|
||||||
: body,
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user