update strings
update empty views take out headers on customize views make refresh on sample row go through moods great->horrible other small UI changes
This commit is contained in:
@@ -44,13 +44,20 @@ struct YearView: View {
|
||||
]
|
||||
|
||||
var body: some View {
|
||||
ScrollView {
|
||||
gridView
|
||||
.onAppear(perform: {
|
||||
self.viewModel.filterEntries(startDate: Date(timeIntervalSince1970: 0), endDate: Date())
|
||||
})
|
||||
ZStack {
|
||||
if self.viewModel.data.keys.isEmpty {
|
||||
EmptyHomeView(showVote: false, viewModel: nil)
|
||||
.padding()
|
||||
} else {
|
||||
ScrollView {
|
||||
gridView
|
||||
}
|
||||
.padding(.bottom, 5)
|
||||
}
|
||||
}
|
||||
.padding(.bottom, 5)
|
||||
.onAppear(perform: {
|
||||
self.viewModel.filterEntries(startDate: Date(timeIntervalSince1970: 0), endDate: Date())
|
||||
})
|
||||
.background(
|
||||
theme.currentTheme.bg
|
||||
.edgesIgnoringSafeArea(.all)
|
||||
|
||||
Reference in New Issue
Block a user