From 466d64542e2f170b1c06b709df08d95d861d81d8 Mon Sep 17 00:00:00 2001 From: Sebastian Imlay Date: Sun, 14 Aug 2022 16:49:49 -0400 Subject: [PATCH] Removed feature cfg from examples --- examples/webview_custom_protocol.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/webview_custom_protocol.rs b/examples/webview_custom_protocol.rs index 5a8a3f9..7b326a8 100644 --- a/examples/webview_custom_protocol.rs +++ b/examples/webview_custom_protocol.rs @@ -22,7 +22,6 @@ impl AppDelegate for BasicApp { #[derive(Default)] pub struct WebViewInstance; -#[cfg(feature = "webview")] impl WebViewDelegate for WebViewInstance { fn on_custom_protocol_request(&self, path: &str) -> Option> { let requested_asset_path = path.replace("cacao://", ""); @@ -63,11 +62,9 @@ impl WebViewDelegate for WebViewInstance { } struct AppWindow { - #[cfg(feature = "webview")] content: WebView } -#[cfg(feature = "webview")] impl AppWindow { pub fn new() -> Self { let mut webview_config = WebViewConfig::default();