when saving onboarding data update notification time and title

This commit is contained in:
Trey t
2022-01-22 14:28:53 -06:00
parent e1839d54ae
commit 2a89ccece6
3 changed files with 4 additions and 8 deletions

View File

@@ -151,12 +151,6 @@ struct SettingsView: View {
.clipShape(RoundedRectangle(cornerRadius: 25, style: .continuous))
}
private func updateNotificationTimes(toDate date: Date) {
LocalNotification.removeNotificaiton()
LocalNotification.scheduleReminder(atTime: date)
}
private var showOnboardingButton: some View {
ZStack {
Color(UIColor.systemBackground)