remove notification title stuff from onboarding
This commit is contained in:
@@ -31,12 +31,11 @@ class LocalNotification {
|
||||
public class func rescheduleNotifiations() {
|
||||
if let data = GroupUserDefaults.groupDefaults.object(forKey: UserDefaultsStore.Keys.savedOnboardingData.rawValue) as? Data,
|
||||
let model = try? JSONDecoder().decode(OnboardingData.self, from: data) {
|
||||
LocalNotification.scheduleReminder(atTime: model.date,
|
||||
withTitle: model.title)
|
||||
LocalNotification.scheduleReminder(atTime: model.date)
|
||||
}
|
||||
}
|
||||
|
||||
public class func scheduleReminder(atTime time: Date, withTitle title: String) {
|
||||
public class func scheduleReminder(atTime time: Date) {
|
||||
self.removeNotificaiton()
|
||||
|
||||
LocalNotification.testIfEnabled(completion: { result in
|
||||
|
||||
Reference in New Issue
Block a user