feat: upgrade wry

This commit is contained in:
Jonathan Kelley committed 2022-05-05 16:29:24 -04:00
1 parent b8c739826a
commit 8ab1c4d0de
4 files changed
+4 -9

No files matched your search

+1 -1
View File
@@ -191,7 +191,7 @@ pub(super) fn handler(
SetTitle(content) => window.set_title(&content),
SetDecorations(state) => window.set_decorations(state),
DevTool => webview.devtool(),
DevTool => {}
Eval(code) => webview
.evaluate_script(code.as_str())
+1 -1
View File
@@ -200,7 +200,7 @@ pub fn launch_with_props<P: 'static + Send>(
)
} else {
// in debug, we are okay with the reload menu showing and dev tool
webview = webview.with_dev_tool(true);
webview = webview.with_devtools(true);
}
desktop.webviews.insert(window_id, webview.build().unwrap());