Skip to content

A tiny friend in your Mac's notch and on your iPhone that keeps an eye on your AI coding agents: Claude Code, Codex, Cursor, Gemini CLI, Antigravity and more. Approve from the notch or your Lock Screen.

Fix approval view never appearing when island is hidden

Louis Railled3bc42d1522f
diff --git a/NotchBuddy/Sources/App/HookServer.swift b/NotchBuddy/Sources/App/HookServer.swift
index 85fa798d..69f5d27a 100644
--- a/NotchBuddy/Sources/App/HookServer.swift
+++ b/NotchBuddy/Sources/App/HookServer.swift
@@ -287,12 +287,9 @@ final class HookServer: @unchecked Sendable {
state.isPinned = true
SoundEngine.shared.play("approval")
- let focused = state.focusId == "integration_claude"
- if focused {
- expandIfNeeded(to: .approval)
- } else {
- setPillBadge(id: "integration_claude", badge: .approval)
- }
+ // Approval always forces the island open — user must be able to respond
+ state.focusId = "integration_claude"
+ expandIfNeeded(to: .approval)
let captured = fd
DispatchQueue.main.asyncAfter(deadline: .now() + 115) { [weak self] in