separate all customize views into their own files
make corner radius a constant create the views in the main app file and pass through so they dont get re-drawn when changing UI things
This commit is contained in:
@@ -22,6 +22,10 @@ class YearViewModel: ObservableObject {
|
||||
}
|
||||
|
||||
init() {
|
||||
updateData()
|
||||
}
|
||||
|
||||
private func updateData() {
|
||||
let filteredEntries = PersistenceController.shared.getData(startDate: Date(timeIntervalSince1970: 0),
|
||||
endDate: Date(),
|
||||
includedDays: selectedDays)
|
||||
|
||||
Reference in New Issue
Block a user