Skip to content

Commit

Permalink
allways update schedule notification
Browse files Browse the repository at this point in the history
  • Loading branch information
jenspfahl committed Dec 21, 2022
1 parent edb2955 commit a190fdf
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/ui/pages/ScheduledTaskList.dart
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,7 @@ class ScheduledTaskListState extends PageScaffoldState<ScheduledTaskList> with A
}
});
_preferenceService.getBool(PREF_DISABLE_NOTIFICATIONS).then((value) {
if (value != null) {
_updateDisableNotifications(value, withSnackMsg: false);
}
else {
disableNotificationIconKey.currentState?.refresh(!_disableNotification);
}
_updateDisableNotifications(value??false, withSnackMsg: false);
});

return [
Expand Down

0 comments on commit a190fdf

Please sign in to comment.