diff --git a/Shared/views/MonthView/MonthView.swift b/Shared/views/MonthView/MonthView.swift index 6908baf..daa5456 100644 --- a/Shared/views/MonthView/MonthView.swift +++ b/Shared/views/MonthView/MonthView.swift @@ -49,7 +49,7 @@ struct MonthView: View { } } else { ScrollView { - LazyVStack(spacing: 5, pinnedViews: [.sectionHeaders]) { + VStack(spacing: 5) { ForEach(viewModel.grouped.sorted(by: { $0.key < $1.key }), id: \.key) { year, months in // for reach month @@ -73,10 +73,9 @@ struct MonthView: View { onDismiss: didDismiss) { selectedDetail.fuckingWrapped } - .edgesIgnoringSafeArea(.top) } } - .padding(.top) + .padding([.top, .bottom]) .background( theme.currentTheme.bg .edgesIgnoringSafeArea(.all)