Browse Source

fix pushing the same VC do not works.

marinofaggiana 4 years ago
parent
commit
6721cfe22d
1 changed files with 3 additions and 1 deletions
  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() {