Bladeren bron

cancel force enable notification cause review Apple Store

alqindiirsyam 5 maanden geleden
bovenliggende
commit
73393f2c2c
1 gewijzigde bestanden met toevoegingen van 1 en 4 verwijderingen
  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