fix fs plugin

This commit is contained in:
Amr Bashir
2023-08-15 03:12:43 +03:00
parent 18635c2200
commit 7a605d402b
+1 -1
View File
@@ -83,7 +83,7 @@ pub fn init<R: Runtime>() -> TauriPlugin<R, Option<Config>> {
.on_event(|app, event| {
if let RunEvent::WindowEvent {
label: _,
event: WindowEvent::FileDrop(FileDropEvent::Dropped(paths)),
event: WindowEvent::FileDrop(FileDropEvent::Dropped { paths, .. }),
..
} = event
{