From d64c32a03947387b32b21d1d9ac6c398afa8711e Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Mon, 17 Jul 2023 14:32:38 +0800 Subject: [PATCH] Only show feature cards in the inbox --- apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift index d51d7103c..e78cc07d9 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift @@ -434,7 +434,8 @@ struct AnimatingCellHeight: AnimatableModifier { viewModel.items.count > 0, viewModel.searchTerm.isEmpty, viewModel.selectedLabels.isEmpty, - viewModel.negatedLabels.isEmpty + viewModel.negatedLabels.isEmpty, + LinkedItemFilter(rawValue: viewModel.appliedFilter) == .inbox { featureCard .listRowInsets(.init(top: 0, leading: 0, bottom: 0, trailing: 0))