Persist cache with pull-to-refresh + Sync rate limiting
This commit is contained in:
@@ -56,6 +56,7 @@ class GroupedDomainDataSource {
|
||||
sync.continue()
|
||||
} else {
|
||||
pipeline.reload(fromSource: true, whenDone: {
|
||||
sync.syncNow() // sync outstanding entries in cache
|
||||
sync.continue()
|
||||
refreshControl?.endRefreshing()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user