feat: global notification

This commit is contained in:
rebelonion 2024-03-14 14:16:25 -05:00
parent b654824eb7
commit 6122eb3669
5 changed files with 93 additions and 33 deletions

View file

@ -167,7 +167,7 @@ class App : MultiDexApplication() {
//run once
androidx.work.WorkManager.getInstance(this).enqueue(OneTimeWorkRequest.Companion.from(AnilistNotificationWorker::class.java))
}
androidx.work.WorkManager.getInstance(this).cancelUniqueWork("ani.dantotsu.notifications.NotificationWorker")
androidx.work.WorkManager.getInstance(this).cancelUniqueWork("ani.dantotsu.notifications.NotificationWorker") //legacy worker
}