when saving onboarding data update notification time and title
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user