|
@@ -324,7 +324,7 @@ internal final class SettingsViewController: UITableViewController, ProgressAler
|
|
appDelegate.registerForNotifications()
|
|
appDelegate.registerForNotifications()
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- NotificationManager.deleteAllNotifications()
|
|
|
|
|
|
+ NotificationManager.removeAllNotifications()
|
|
}
|
|
}
|
|
UserDefaults.standard.synchronize()
|
|
UserDefaults.standard.synchronize()
|
|
NotificationManager.updateApplicationIconBadge(reset: !sender.isOn)
|
|
NotificationManager.updateApplicationIconBadge(reset: !sender.isOn)
|