marinofaggiana 4 years ago
parent
commit
b662aaff6c
1 changed files with 0 additions and 16 deletions
  1. 0 16
      iOSClient/Main/NCMainNavigationController.swift

+ 0 - 16
iOSClient/Main/NCMainNavigationController.swift

@@ -35,22 +35,6 @@ class NCMainNavigationController: UINavigationController {
         changeTheming()
     }
 
-    /*
-    // https://stackoverflow.com/questions/37829721/pushing-view-controller-twice
-    override func pushViewController(_ viewController: UIViewController, animated: Bool) {
-        
-        if !isPushing {
-            isPushing = true
-            CATransaction.begin()
-            CATransaction.setCompletionBlock {
-                self.isPushing = false
-            }
-            super.pushViewController(viewController, animated: animated)
-            CATransaction.commit()
-        }
-    }
-    */
-    
     @objc func changeTheming() {
                   
         if #available(iOS 13.0, *) {