mirror of
https://github.com/adriankumpf/tesla_auth.git
synced 2026-02-27 09:54:03 +08:00
Remove duplicate WindowExtUnix import
The trait is already imported at the top level with a cfg(linux) gate. The inner import inside the webview builder block was redundant.
This commit is contained in:
@@ -138,7 +138,6 @@ fn main() -> anyhow::Result<()> {
|
||||
|
||||
#[cfg(not(any(target_os = "windows", target_os = "macos",)))]
|
||||
let webview = {
|
||||
use tao::platform::unix::WindowExtUnix;
|
||||
use wry::WebViewBuilderExtUnix;
|
||||
let vbox = window.default_vbox().unwrap();
|
||||
builder.build_gtk(vbox)?
|
||||
|
||||
Reference in New Issue
Block a user