We still need to show the filtersheader if there is a search term but no results

This commit is contained in:
Jackson Harper 2022-10-11 12:32:46 +08:00
parent a1fabcc564
commit bca7b650d6

View file

@ -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,