fix: upgrade to race-safe dart_ipc (#1479)

This commit is contained in:
Levi authored and GitHub committed 2026-09-07 09:23:26 +08:00
1 parent 53d13dfe28
commit 67814348dc
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,
);