fix merge

This commit is contained in:
Evan Almloff committed 2024-01-08 14:51:35 -06:00
1 parent 56798b3d1c
commit 194c9d43e3
11 files changed
+234 -31

No files matched your search

+1 -2
View File
@@ -94,11 +94,10 @@ impl WebviewInstance {
.unwrap()
.with_ipc_handler(ipc_handler)
.with_asynchronous_custom_protocol(String::from("dioxus"), request_handler)
.with_file_drop_handler(file_drop_handler)
.with_web_context(&mut web_context);
if let Some(handler) = file_handler {
webview = webview.with_file_drop_handler(handler)
webview = webview.with_file_drop_handler(move |evt| handler(window_id, evt))
}
// This was removed from wry, I'm not sure what replaced it