mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-17 05:43:41 +00:00
fix: upgrade to race-safe dart_ipc (#1479)
This commit is contained in:
14 files changed
+136
-79
No files matched your search
@@ -58,7 +58,7 @@ class DownloadDirectoryPicker {
|
||||
return _pickAndroid(context, currentPath: currentPath);
|
||||
}
|
||||
if (_platform == TargetPlatform.iOS) return null;
|
||||
return FilePicker.platform.getDirectoryPath();
|
||||
return FilePicker.getDirectoryPath();
|
||||
}
|
||||
|
||||
static Future<String?> _pickAndroid(BuildContext context, {required String currentPath}) async {
|
||||
|
||||
Reference in new issue
Block a user