mirror of
https://github.com/inventree/inventree-app.git
synced 2026-06-10 08:27:15 +00:00
File picker (#829)
* Update picker packages * Remove android permissions explicitly * Fix call signature * Update gradle settings * Update version
This commit is contained in:
@@ -35,7 +35,7 @@ class FilePickerDialog {
|
||||
}
|
||||
|
||||
static Future<File?> pickFileFromDevice() async {
|
||||
final FilePickerResult? result = await FilePicker.platform.pickFiles();
|
||||
final FilePickerResult? result = await FilePicker.pickFiles();
|
||||
|
||||
if (result != null) {
|
||||
String? path = result.files.single.path;
|
||||
|
||||
Reference in New Issue
Block a user