Only show feature cards in the inbox

This commit is contained in:
Jackson Harper 2023-07-17 14:32:38 +08:00
parent 43905a47ba
commit d64c32a039

View file

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