mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Load cached items first
This commit is contained in:
parent
053ceb9073
commit
2c0f5dc6a1
1 changed files with 1 additions and 0 deletions
|
|
@ -114,6 +114,7 @@ import Views
|
|||
if let appliedFilter = filterState.appliedFilter {
|
||||
let shouldRemoteSearch = forceRemote || items.count < 1 || isRefresh && appliedFilter.shouldRemoteSearch
|
||||
if shouldRemoteSearch {
|
||||
updateFetchController(dataService: dataService, filterState: filterState)
|
||||
await loadSearchQuery(dataService: dataService, filterState: filterState, isRefresh: isRefresh)
|
||||
} else {
|
||||
updateFetchController(dataService: dataService, filterState: filterState)
|
||||
|
|
|
|||
Loading…
Reference in a new issue