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
@@ -1378,8 +1378,8 @@ class _SettingsPageState extends ConsumerState<SettingsPage> {
|
||||
initialValue: index == null ? '' : paths[index],
|
||||
pickPath: Util.isDesktop()
|
||||
? () async {
|
||||
final result = await FilePicker.platform.pickFiles();
|
||||
return result?.files.firstOrNull?.path;
|
||||
final file = await FilePicker.pickFile();
|
||||
return file?.path;
|
||||
}
|
||||
: null,
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user