mirror of
https://github.com/go-vikunja/app
synced 2024-06-04 19:49:52 +00:00
no need to schedule notification if it has no due date set
This commit is contained in:
parent
a6fab24598
commit
3688df4811
|
@ -109,6 +109,7 @@ class VikunjaGlobalState extends State<VikunjaGlobal> {
|
|||
task.reminders.forEach((reminder) {
|
||||
scheduleNotification("This is your reminder for '" + task.title + "'", task.description, notificationsPlugin, reminder);
|
||||
});
|
||||
if(task.due != null)
|
||||
scheduleNotification("The task '" + task.title + "' is due.", task.description, notificationsPlugin, task.due);
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user