Skip to content

Commit d94f7ba

Browse files
Remove saving empty notifications on stop
1 parent a4a55a0 commit d94f7ba

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/org/medicmobile/webapp/mobile/AppNotificationManager.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ public void startNotificationWorker() {
9090
}
9191

9292
public void stopNotificationWorker() {
93-
appDataStore.saveString(TASK_NOTIFICATIONS_KEY, "[]");
9493
WorkManager.getInstance(context).cancelAllWorkByTag(NotificationWorker.NOTIFICATION_WORK_REQUEST_TAG);
9594
log(context, "stopNotificationWorker() :: Stopped notification work manager");
9695
}

0 commit comments

Comments
 (0)