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.

Notetaker: no await inside a ternary

Claudeea2aa5fb6b67
diff --git a/NotchBuddy/Sources/App/NoteTaker.swift b/NotchBuddy/Sources/App/NoteTaker.swift
index 5ce422d4..559a0751 100644
--- a/NotchBuddy/Sources/App/NoteTaker.swift
+++ b/NotchBuddy/Sources/App/NoteTaker.swift
@@ -430,7 +430,8 @@ final class NoteTaker: ObservableObject {
return text.isEmpty ? nil : text
}
if let text = await call(model) { return text }
- return model == FlowCleanup.model ? nil : await call(FlowCleanup.model)
+ if model == FlowCleanup.model { return nil }
+ return await call(FlowCleanup.model)
}
// MARK: - Summary