This commit is contained in:
Trey t
2022-02-10 10:59:19 -06:00
parent 34962d2fa3
commit 92514a5e33
5 changed files with 47 additions and 8 deletions

View File

@@ -368,6 +368,10 @@ struct ContentView: View {
theme.currentTheme.bg
.edgesIgnoringSafeArea(.all)
)
.onReceive(NotificationCenter.default.publisher(for: UIApplication.willEnterForegroundNotification)) { _ in
PersistenceController.shared.fillInMissingDates()
viewModel.updateData()
}
}
}