fix: stop re-sending anilist notifications

This commit is contained in:
rebelonion 2024-03-14 14:17:15 -05:00
parent 6122eb3669
commit ddd59643c5

View file

@ -59,7 +59,7 @@ class AnilistNotificationWorker(appContext: Context, workerParams: WorkerParamet
} }
} }
if (newNotifications?.isNotEmpty() == true) { if (newNotifications?.isNotEmpty() == true) {
PrefManager.setVal(PrefName.LastAnilistNotificationId, 0) PrefManager.setVal(PrefName.LastAnilistNotificationId, newNotifications.last().id)
} }
} }
} }