Skip to content

Commit

Permalink
fix: build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
twlite committed Oct 3, 2024
1 parent 0f57a2b commit 3230aa1
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions src/browser_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3230aa1

Please sign in to comment.