mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 12:57:04 +05:30
fix(android): do not force re-enqueue post update job on each start
This commit is contained in:
parent
766f14cd22
commit
ea92d64972
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class ClawApplication : Application(), ApplicationComponentOwner {
|
||||||
WorkManager.getInstance(this)
|
WorkManager.getInstance(this)
|
||||||
.enqueueUniquePeriodicWork(
|
.enqueueUniquePeriodicWork(
|
||||||
"updateSavedPosts",
|
"updateSavedPosts",
|
||||||
ExistingPeriodicWorkPolicy.CANCEL_AND_REENQUEUE,
|
ExistingPeriodicWorkPolicy.UPDATE,
|
||||||
postUpdateWorkRequest,
|
postUpdateWorkRequest,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue