fixed build error

This commit is contained in:
pandadev 2024-07-17 19:48:15 +02:00
parent fda9e2d984
commit 1d70cfb5f7
No known key found for this signature in database
GPG key ID: C39629DACB8E762F

View file

@ -59,7 +59,7 @@ fn main() {
Ok(()) Ok(())
}) })
.on_window_event(|_app, event| match event { .on_window_event(|app, event| match event {
#[cfg(not(dev))] #[cfg(not(dev))]
tauri::WindowEvent::Focused(false) => { tauri::WindowEvent::Focused(false) => {
if let Some(window) = app.get_webview_window("main") { if let Some(window) = app.get_webview_window("main") {