mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
We still need to show the filtersheader if there is a search term but no results
This commit is contained in:
parent
a1fabcc564
commit
bca7b650d6
1 changed files with 4 additions and 2 deletions
|
|
@ -275,10 +275,12 @@ import Views
|
|||
EmptyView()
|
||||
}
|
||||
List {
|
||||
if viewModel.items.count > 0 {
|
||||
if viewModel.showLoadingBar {
|
||||
ShimmeringLoader()
|
||||
}
|
||||
if viewModel.items.count > 0 || viewModel.searchTerm.count > 0 {
|
||||
filtersHeader
|
||||
}
|
||||
|
||||
ForEach(viewModel.items) { item in
|
||||
FeedCardNavigationLink(
|
||||
item: item,
|
||||
|
|
|
|||
Loading…
Reference in a new issue