Explorar o código

fix pushing the same VC do not works.

marinofaggiana %!s(int64=4) %!d(string=hai) anos
pai
achega
6721cfe22d
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      iOSClient/Main/NCMainNavigationController.swift

+ 3 - 1
iOSClient/Main/NCMainNavigationController.swift

@@ -34,7 +34,8 @@ class NCMainNavigationController: UINavigationController {
         
         changeTheming()
     }
-    
+
+    /*
     // https://stackoverflow.com/questions/37829721/pushing-view-controller-twice
     override func pushViewController(_ viewController: UIViewController, animated: Bool) {
         
@@ -48,6 +49,7 @@ class NCMainNavigationController: UINavigationController {
             CATransaction.commit()
         }
     }
+    */
     
     @objc func changeTheming() {