From 7a605d402b86b7e3ed1182d99c942334b814b4f4 Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Tue, 15 Aug 2023 03:12:43 +0300 Subject: [PATCH] fix fs plugin --- plugins/fs/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/fs/src/lib.rs b/plugins/fs/src/lib.rs index aab60ce9..966f1288 100644 --- a/plugins/fs/src/lib.rs +++ b/plugins/fs/src/lib.rs @@ -83,7 +83,7 @@ pub fn init() -> TauriPlugin> { .on_event(|app, event| { if let RunEvent::WindowEvent { label: _, - event: WindowEvent::FileDrop(FileDropEvent::Dropped(paths)), + event: WindowEvent::FileDrop(FileDropEvent::Dropped { paths, .. }), .. } = event {