marinofaggiana 4 years ago
parent
commit
2825e8d736
1 changed files with 3 additions and 0 deletions
  1. 3 0
      iOSClient/Account Request/NCAccountRequest.swift

+ 3 - 0
iOSClient/Account Request/NCAccountRequest.swift

@@ -77,6 +77,9 @@ class NCAccountRequest: UIViewController {
         super.viewWillDisappear(animated)
         
         timer?.invalidate()
+        if enableAddAccount {
+            dismiss(animated: false)
+        }
     }
     
     // MARK: - NotificationCenter