From c59a2fb8298885cec5bd495f52a20b1110972216 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Thu, 18 Jan 2024 11:44:41 -0800 Subject: [PATCH] Fix desktop launch --- packages/desktop/src/launch.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/desktop/src/launch.rs b/packages/desktop/src/launch.rs index 1c67f46c0..7755202c1 100644 --- a/packages/desktop/src/launch.rs +++ b/packages/desktop/src/launch.rs @@ -60,7 +60,7 @@ pub fn launch_virtual_dom(virtual_dom: VirtualDom, desktop_config: Config) { })); #[cfg(not(feature = "tokio"))] - launch_virtual_dom_blocking(config, desktop_config) + launch_virtual_dom_blocking(virtual_dom, desktop_config) } /// Launches the WebView and runs the event loop, with configuration and root props. @@ -75,5 +75,5 @@ pub fn launch( virtual_dom.insert_any_root_context(context()); } - launch_virtual_dom(virtual_dom, desktop_config) + launch_virtual_dom(virtual_dom, platform_config) }