Skip to content

Commit

Permalink
Fix AndroidX Work deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
TacoTheDank committed Sep 19, 2023
1 parent 0969129 commit 5331a97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class NotificationWorker(
.enqueueUniquePeriodicWork(
WORK_TAG,
if (force) {
ExistingPeriodicWorkPolicy.REPLACE
ExistingPeriodicWorkPolicy.CANCEL_AND_REENQUEUE
} else {
ExistingPeriodicWorkPolicy.KEEP
},
Expand Down

0 comments on commit 5331a97

Please sign in to comment.