Fix AndroidX Work deprecation
This commit is contained in:
parent
e4a07411b8
commit
00566ed4d4
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ class NotificationWorker(
|
||||||
.enqueueUniquePeriodicWork(
|
.enqueueUniquePeriodicWork(
|
||||||
WORK_TAG,
|
WORK_TAG,
|
||||||
if (force) {
|
if (force) {
|
||||||
ExistingPeriodicWorkPolicy.REPLACE
|
ExistingPeriodicWorkPolicy.CANCEL_AND_REENQUEUE
|
||||||
} else {
|
} else {
|
||||||
ExistingPeriodicWorkPolicy.KEEP
|
ExistingPeriodicWorkPolicy.KEEP
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue