diff --git a/src/main.rs b/src/main.rs index 1ed3135..59fe258 100644 --- a/src/main.rs +++ b/src/main.rs @@ -121,20 +121,10 @@ fn main() -> anyhow::Result<()> { let proxy = event_proxy.clone(); - #[cfg(any( - target_os = "windows", - target_os = "macos", - target_os = "ios", - target_os = "android" - ))] + #[cfg(any( target_os = "windows", target_os = "macos"))] let builder = WebViewBuilder::new(&window); - #[cfg(not(any( - target_os = "windows", - target_os = "macos", - target_os = "ios", - target_os = "android" - )))] + #[cfg(not(any( target_os = "windows", target_os = "macos")))] let builder = { use wry::WebViewBuilderExtUnix; let vbox = window.default_vbox().unwrap();