From 0d33aabb2217e60371b959cf8c21f50985bd1823 Mon Sep 17 00:00:00 2001 From: Trey t Date: Sat, 29 Jan 2022 12:35:11 -0600 Subject: [PATCH] take out application register for notification to maybe stop duplicate local notifications --- Shared/AppDelegate.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Shared/AppDelegate.swift b/Shared/AppDelegate.swift index 3c3783f..5b0e2a1 100644 --- a/Shared/AppDelegate.swift +++ b/Shared/AppDelegate.swift @@ -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 }