Переглянути джерело

cancel force enable notification cause review Apple Store

alqindiirsyam 5 місяців тому
батько
коміт
73393f2c2c
1 змінених файлів з 1 додано та 4 видалено
  1. 1 4
      NexilisLite/NexilisLite/Source/APIS.swift

+ 1 - 4
NexilisLite/NexilisLite/Source/APIS.swift

@@ -1349,10 +1349,7 @@ public class APIS: NSObject {
             preferredStyle: .alert
         )
         
-        alertController.addAction(UIAlertAction(title: "Cancel".localized(), style: .cancel, handler: { _ in
-            isAlertPresented = false
-            showEnableNotificationsAlert()
-        }))
+        alertController.addAction(UIAlertAction(title: "Cancel".localized(), style: .cancel, handler: nil))
         
         alertController.addAction(UIAlertAction(title: "Go to Settings".localized(), style: .default, handler: { _ in
             isAlertPresented = false