small fix, don't worry about it

This commit is contained in:
Tomas Dvorak committed 2026-04-10 12:05:40 +02:00
1 parent 7b7ed0083f
commit 5ab2773f98
55 files changed
+3240 -483

No files matched your search

@@ -522,6 +522,7 @@ Future<void> _showAddCalendarEntrySheet(
],
ElevatedButton(
onPressed: () async {
final navigator = Navigator.of(sheetContext);
await ref
.read(calendarControllerProvider.notifier)
.addEntry(
@@ -529,8 +530,8 @@ Future<void> _showAddCalendarEntrySheet(
note: noteController.text,
goalId: selectedGoalId,
);
if (Navigator.of(sheetContext).canPop()) {
Navigator.of(sheetContext).pop();
if (navigator.canPop()) {
navigator.pop();
}
},
child: const Text('Save to calendar'),