Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

fix: remove unused WebView2 controller import (#1399)

jeeyong4540cdab3f6f
diff --git a/src-tauri/src/app/navigation.rs b/src-tauri/src/app/navigation.rs
index 0a5e8e98..ab9bb23b 100644
--- a/src-tauri/src/app/navigation.rs
+++ b/src-tauri/src/app/navigation.rs
@@ -63,8 +63,6 @@ fn history_step_platform(webview: &tauri::webview::PlatformWebview, back: bool)
#[cfg(windows)]
fn history_step_platform(webview: &tauri::webview::PlatformWebview, back: bool) {
- use webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Controller;
-
let controller = webview.controller();
unsafe {
// ICoreWebView2Controller::CoreWebView2 returns the underlying browser.