mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-08-26 00:44:41 +00:00
disconnect() cleared the usage block before anyone knew whether the delete had worked, and AppStore then returned early on failure — so a failed disconnect cleared some state, left the rest, and still posted subscriptionDisconnected. It also carried a second !isSuccess branch that the early return had already made unreachable. Both services now return the delete result and only clear the usage block on success, so a failure changes nothing at all: the provider stays connected, Disconnect stays available, and the banner asks for a retry. That matches the success path's ordering instead of half-applying it. Errors reaching the generic catches now render localizedDescription rather than String(describing:), so a Keychain failure shows its message instead of an enum dump with the raw item name in it. |
||
|---|---|---|
| .. | ||
| CodeBurnMenubar | ||