From 57fd862149407c8d6a99bc8d07432abdc81f954e Mon Sep 17 00:00:00 2001 From: Stefan Hausotte Date: Tue, 10 Mar 2026 20:47:42 +0100 Subject: [PATCH] fix: missing gap on top of list itmes #10 --- Forji/Forji/Views/SearchableOverviewView.swift | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Forji/Forji/Views/SearchableOverviewView.swift b/Forji/Forji/Views/SearchableOverviewView.swift index 20556f3..14ff638 100644 --- a/Forji/Forji/Views/SearchableOverviewView.swift +++ b/Forji/Forji/Views/SearchableOverviewView.swift @@ -100,14 +100,6 @@ struct SearchableOverviewView: View { @Bindable var pagination = pagination ZStack(alignment: .bottomTrailing) { VStack(spacing: 0) { - Text(filterSummaryText) - .font(.caption) - .foregroundStyle(.secondary) - .frame(maxWidth: .infinity) - .padding(.horizontal) - .padding(.vertical, 6) - .accessibilityIdentifier("filter-summary") - List { if pagination.isLoading, pagination.items.isEmpty { LoadingListSection() @@ -145,6 +137,15 @@ struct SearchableOverviewView: View { } } .listStyle(.insetGrouped) + .safeAreaInset(edge: .top) { + Text(filterSummaryText) + .font(.caption) + .foregroundStyle(.secondary) + .frame(maxWidth: .infinity) + .padding(.horizontal) + .padding(.vertical, 6) + .accessibilityIdentifier("filter-summary") + } } FloatingCreateButton(action: { showCreateFlow = true })