Skip to content

Commit

Permalink
Update work manager ExistingPeriodicWorkPolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
tanujnotes committed Oct 6, 2023
1 parent c834ab9 commit 6344e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/app/olauncher/MainViewModel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ class MainViewModel(application: Application) : AndroidViewModel(application) {
.getInstance(appContext)
.enqueueUniquePeriodicWork(
Constants.WALLPAPER_WORKER_NAME,
ExistingPeriodicWorkPolicy.REPLACE,
ExistingPeriodicWorkPolicy.CANCEL_AND_REENQUEUE,
uploadWorkRequest
)
}
Expand Down

0 comments on commit 6344e4e

Please sign in to comment.