mirror of
https://codeberg.org/secana/Forji.git
synced 2026-06-16 05:13:55 -07:00
fix: missing gap on top of list itmes #10
This commit is contained in:
parent
ddefefdd7f
commit
57fd862149
1 changed files with 9 additions and 8 deletions
|
|
@ -100,14 +100,6 @@ struct SearchableOverviewView<Row: View, Detail: View, CreateView: View>: 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<Row: View, Detail: View, CreateView: View>: 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 })
|
||||
|
|
|
|||
Loading…
Reference in a new issue