Fix "trackers still on" when closing via tray (#1265)

Co-authored-by: Eiren Rain <[email protected]>
Co-authored-by: lucas lelievre <[email protected]>
This commit is contained in:
authored and GitHub committed 2025-01-06 15:16:26 +01:00
1 parent 3614612ac2
commit 2ff6e99385
2 files changed
+4 -1

No files matched your search

+3 -1
View File
@@ -290,7 +290,9 @@ export function TopBar({
await invoke('update_tray_text');
} else if (
config?.connectedTrackersWarning &&
connectedIMUTrackers.length > 0
connectedIMUTrackers.filter(
(t) => t.tracker.status !== TrackerStatus.TIMED_OUT
).length > 0
) {
setConnectedTrackerWarning(true);
} else {