take out application register for notification to maybe stop duplicate local notifications

This commit is contained in:
Trey t
2022-01-29 12:35:11 -06:00
parent 27e2bf2a40
commit 0d33aabb22

View File

@@ -16,7 +16,6 @@ class AppDelegate: NSObject, UIApplicationDelegate {
func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
// PersistenceController.shared.clearDB()
application.registerForRemoteNotifications()
UNUserNotificationCenter.current().delegate = self
return true
}