Skip to content

fix: handle alarm/query null-safety issues#911

Open
NihalDR wants to merge 5 commits intoCCExtractor:mainfrom
NihalDR:contribution_v3_fix907_msg
Open

fix: handle alarm/query null-safety issues#911
NihalDR wants to merge 5 commits intoCCExtractor:mainfrom
NihalDR:contribution_v3_fix907_msg

Conversation

@NihalDR
Copy link

@NihalDR NihalDR commented Mar 17, 2026

Changes made

  • Added empty-result guard in IsarDb.getTriggeredAlarm and throw controlled StateError when no enabled alarm matches time
  • Added null guards for GoogleSignIn.currentUser in calendar/event fetch paths to avoid null-assertion crashes
  • Removed stale TODO marker from NotificationsController

Result

Improves runtime stability and removes incomplete implementation marker from production code.

Fixes #910

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Address unimplemented TODO marker in notifications_controller.dart

1 participant