fix weird stuttering bug with month view
This commit is contained in:
@@ -49,7 +49,7 @@ struct MonthView: View {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ScrollView {
|
ScrollView {
|
||||||
LazyVStack(spacing: 5, pinnedViews: [.sectionHeaders]) {
|
VStack(spacing: 5) {
|
||||||
ForEach(viewModel.grouped.sorted(by: { $0.key < $1.key }), id: \.key) { year, months in
|
ForEach(viewModel.grouped.sorted(by: { $0.key < $1.key }), id: \.key) { year, months in
|
||||||
|
|
||||||
// for reach month
|
// for reach month
|
||||||
@@ -73,10 +73,9 @@ struct MonthView: View {
|
|||||||
onDismiss: didDismiss) {
|
onDismiss: didDismiss) {
|
||||||
selectedDetail.fuckingWrapped
|
selectedDetail.fuckingWrapped
|
||||||
}
|
}
|
||||||
.edgesIgnoringSafeArea(.top)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.padding(.top)
|
.padding([.top, .bottom])
|
||||||
.background(
|
.background(
|
||||||
theme.currentTheme.bg
|
theme.currentTheme.bg
|
||||||
.edgesIgnoringSafeArea(.all)
|
.edgesIgnoringSafeArea(.all)
|
||||||
|
|||||||
Reference in New Issue
Block a user