Skip to content

Commit 6683b5c

Browse files
authored
Merge pull request #63 from VariableThe/fix/cleanup-window-state-slop
chore: conditionally import AtomicU64 only on non-macOS
2 parents 7a974c7 + 01448d3 commit 6683b5c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src-tauri/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ mod tray;
1010

1111
use commands::shortcuts::GlobalShortcutState;
1212
use commands::notifications::NotificationState;
13-
use std::sync::atomic::{AtomicBool, AtomicU64, Ordering};
13+
#[cfg(not(target_os = "macos"))]
14+
use std::sync::atomic::AtomicU64;
15+
use std::sync::atomic::{AtomicBool, Ordering};
1416
use std::sync::Arc;
1517
use tauri_plugin_window_state::{StateFlags, WindowExt};
1618

0 commit comments

Comments
 (0)