Skip to content

Commit

Permalink
error catching
Browse files Browse the repository at this point in the history
  • Loading branch information
deathblade666 committed Aug 30, 2024
1 parent 4f80cae commit d4c4f91
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/pages/menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ class Menu extends StatefulWidget {
final result = (await FlutterFileDialog.pickFile());
}
on Exception catch (result) {
if (result == null) {
showDialog(
context: context,
builder: (BuildContext context) {
Expand All @@ -129,7 +128,6 @@ class Menu extends StatefulWidget {
);
}
);
};
}
// await CRFileSaver.saveFileWithDialog(SaveFileDialogParams(sourceFilePath: '/sdcard/Downloads', destinationFileName: destinationFileName))
//final XFile textfile = XFile.fromData(bytes);
Expand Down

0 comments on commit d4c4f91

Please sign in to comment.