Skip to content

Commit

Permalink
chore: dart format
Browse files Browse the repository at this point in the history
  • Loading branch information
Benimautner committed Sep 30, 2024
1 parent c2b2b2e commit cb3dde5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/managers/notifications.dart
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,11 @@ class NotificationClass {

Future<void> scheduleDueNotifications(TaskService taskService,
{List<Task>? tasks}) async {
if (tasks == null) tasks = await taskService.getByFilterString("done=false && (due_date > now || reminders > now)", {"filter_include_nulls": ["false"]});
if (tasks == null)
tasks = await taskService.getByFilterString(
"done=false && (due_date > now || reminders > now)", {
"filter_include_nulls": ["false"]
});
if (tasks == null) {
print("did not receive tasks on notification update");
return;
Expand Down

0 comments on commit cb3dde5

Please sign in to comment.