Skip to content

Commit 48035d5

Browse files
committed
fix: dereference &bool in Focused event match arm
1 parent 3c2d401 commit 48035d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src-tauri/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ pub fn run() {
8181
let _ = w.hide();
8282
}
8383
tauri::WindowEvent::Focused(focused) => {
84-
if focused {
84+
if *focused {
8585
#[cfg(not(target_os = "macos"))]
8686
pending.store(false, Ordering::SeqCst);
8787
} else if !is_dialog_open.load(Ordering::SeqCst) {

0 commit comments

Comments
 (0)