requestAuthorization only shows the system prompt once ever; when permission is already denied it silently returns false and the checkbox just snapped off with no explanation. toggleNotify now checks the authorization status first: already-authorized enables directly, not-determined triggers the system prompt (errors surfaced in an alert), and denied shows an alert with an Open System Settings button pointing at the Notifications pane. Also adds a UNUserNotificationCenterDelegate so banners are shown even while BrewBar is the active app — otherwise macOS suppresses them, which reads as "notifications don't work" right after enabling. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .claude/skills | ||
| asset | ||
| BrewBar | ||
| BrewBar.xcodeproj | ||
| BrewBarTests | ||
| .gitignore | ||
| .swiftlint.yml | ||
| LICENSE | ||
| README.md | ||