marinofaggiana 5 năm trước cách đây
mục cha
commit
51955bf72d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      iOSClient/Main/NCDetailViewController.swift

+ 1 - 1
iOSClient/Main/NCDetailViewController.swift

@@ -132,7 +132,7 @@ class NCDetailViewController: UIViewController {
             view.backgroundColor = NCBrandColor.sharedInstance.backgroundView
         }
         
-        navigationController?.isNavigationBarHidden = state
+        navigationController?.setNavigationBarHidden(state, animated: false)
         isNavigationBarHidden = state
     }