We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28c9d90 commit 4d87e06Copy full SHA for 4d87e06
src-tauri/src/lib.rs
@@ -101,10 +101,10 @@ pub fn run_app() {
101
102
Ok(())
103
})
104
- .on_window_event(|window, event| {
+ .on_window_event(|_window, _event| {
105
#[cfg(target_os = "macos")]
106
- if let tauri::WindowEvent::CloseRequested { api, .. } = event {
107
- let window = window.clone();
+ if let tauri::WindowEvent::CloseRequested { api, .. } = _event {
+ let window = _window.clone();
108
{
109
tauri::async_runtime::spawn(async move {
110
if window.is_fullscreen().unwrap_or(false) {
0 commit comments