fix: stop re-sending anilist notifications
This commit is contained in:
parent
6122eb3669
commit
ddd59643c5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue