✨ fix
This commit is contained in:
@@ -55,7 +55,6 @@ pub fn run_app() {
|
|||||||
})
|
})
|
||||||
.on_window_event(|event| {
|
.on_window_event(|event| {
|
||||||
if let tauri::WindowEvent::CloseRequested { api, .. } = event.event() {
|
if let tauri::WindowEvent::CloseRequested { api, .. } = event.event() {
|
||||||
|
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
event.window().minimize().unwrap();
|
event.window().minimize().unwrap();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user