fix weird stuttering bug with month view

This commit is contained in:
Trey t
2022-03-03 09:59:16 -06:00
parent 29bae8008c
commit c83697cfb2

View File

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