mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-12 00:56:16 +00:00
fix: stop re-sending anilist notifications
This commit is contained in:
@@ -59,7 +59,7 @@ class AnilistNotificationWorker(appContext: Context, workerParams: WorkerParamet
|
||||
}
|
||||
}
|
||||
if (newNotifications?.isNotEmpty() == true) {
|
||||
PrefManager.setVal(PrefName.LastAnilistNotificationId, 0)
|
||||
PrefManager.setVal(PrefName.LastAnilistNotificationId, newNotifications.last().id)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user