Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbaird committed Jul 15, 2024
1 parent ff6f244 commit 2bd0179
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Ice/MenuBar/MenuBarItemManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1112,13 +1112,13 @@ extension MenuBarItemManager {
}
}

if !failedContexts.isEmpty {
if failedContexts.isEmpty {
tempShownItemsTimer?.invalidate()
tempShownItemsTimer = nil
} else {
tempShownItemContexts = failedContexts
runTempShownItemTimer(for: 3)
}

tempShownItemsTimer?.invalidate()
tempShownItemsTimer = nil
}

/// Removes a temporarily shown item from the cache.
Expand Down

0 comments on commit 2bd0179

Please sign in to comment.