Browse Source

fix pushing the same VC do not works.

marinofaggiana 4 năm trước cách đây
mục cha
commit
6721cfe22d
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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() {