We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7904fd3 commit 68bfc05Copy full SHA for 68bfc05
lib/helper/save_file_mobile_desktop.dart
@@ -17,7 +17,7 @@ Future<void> saveAndLaunchFile(List<int> bytes, String fileName) async {
17
if (Platform.isAndroid) {
18
final Directory? directory =
19
await path_provider.getExternalStorageDirectory();
20
- if (Platform.isAndroid && directory != null) {
+ if (directory != null) {
21
path = directory.path;
22
}
23
} else {
0 commit comments