1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-22 02:53:09 +01:00

Fix AndroidX Work deprecation

This commit is contained in:
TacoTheDank 2023-10-31 16:26:20 -04:00 committed by Stypox
parent e4a07411b8
commit 00566ed4d4
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23

View File

@ -137,7 +137,7 @@ class NotificationWorker(
.enqueueUniquePeriodicWork(
WORK_TAG,
if (force) {
ExistingPeriodicWorkPolicy.REPLACE
ExistingPeriodicWorkPolicy.CANCEL_AND_REENQUEUE
} else {
ExistingPeriodicWorkPolicy.KEEP
},