diff --git a/src/browser_window.rs b/src/browser_window.rs index 30982d1..9f7dcfd 100644 --- a/src/browser_window.rs +++ b/src/browser_window.rs @@ -225,25 +225,10 @@ impl BrowserWindow { webview = webview.with_hotkeys_zoom(hotkeys_zoom); } + #[cfg(target_os = "windows")] { - #[cfg(target_os = "windows")] use wry::WebViewBuilderExtWindows; - #[cfg(any(target_os = "macos", target_os = "ios",))] - use wry::WebViewBuilderExtDarwin; - - #[cfg(target_os = "android")] - use wry::WebViewBuilderExtAndroid; - - #[cfg(any( - target_os = "linux", - target_os = "dragonfly", - target_os = "freebsd", - target_os = "netbsd", - target_os = "openbsd", - ))] - use wry::WebViewBuilderExtUnix; - if let Some(theme) = options.theme { let theme = match theme { JsTheme::Light => wry::Theme::Light,