diff --git a/App/Sources/Core/Runners/MenuBarCommandRunner.swift b/App/Sources/Core/Runners/MenuBarCommandRunner.swift index ae3beaf2..fd862063 100644 --- a/App/Sources/Core/Runners/MenuBarCommandRunner.swift +++ b/App/Sources/Core/Runners/MenuBarCommandRunner.swift @@ -80,6 +80,8 @@ final class MenuBarCommandRunner { private func find(_ token: MenuBarCommand.Token, in items: [MenuBarItemAccessibilityElement]) -> MenuBarItemAccessibilityElement? { items.first(where: { item in + guard item.isEnabled == true else { return false } + switch token { case .menuItem(let title): return item.title == title