fix crash where homeViewTwo view model wasnt being updated

This commit is contained in:
Trey t
2022-02-21 22:38:07 -06:00
parent 83060e8353
commit 769c6335d9
7 changed files with 50 additions and 18 deletions

View File

@@ -16,6 +16,7 @@ class AppDelegate: NSObject, UIApplicationDelegate {
func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
// PersistenceController.shared.clearDB()
PersistenceController.shared.removeNoForDates()
PersistenceController.shared.fillInMissingDates()
UNUserNotificationCenter.current().delegate = self