From bca7b650d69dfc4c9d85a9905519abf7b42408e5 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Tue, 11 Oct 2022 12:32:46 +0800 Subject: [PATCH] We still need to show the filtersheader if there is a search term but no results --- .../Sources/App/Views/Home/HomeFeedViewIOS.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift index e77364510..4ebb27a19 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift @@ -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,