mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-16 21:33: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
@@ -210,7 +210,7 @@ class _ExtensionsPageState extends ConsumerState<ExtensionsPage> {
|
||||
}
|
||||
|
||||
Future<void> _installFromFolder() async {
|
||||
final folder = await FilePicker.platform.getDirectoryPath();
|
||||
final folder = await FilePicker.getDirectoryPath();
|
||||
if (folder == null || folder.isEmpty) return;
|
||||
await _runAction(() => ref.read(extensionsControllerProvider.notifier).installFromUrl(folder, devInstall: true));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user