ソースを参照

Fix double nav bar after previewing with QuickLookViewController

Signed-off-by: Philippe Weidmann <philippe.weidmann@infomaniak.com>
Philippe Weidmann 4 年 前
コミット
100d5d1f24
1 ファイル変更1 行追加1 行削除
  1. 1 1
      iOSClient/Main/NCDetailViewController.swift

+ 1 - 1
iOSClient/Main/NCDetailViewController.swift

@@ -417,7 +417,7 @@ class NCDetailViewController: UIViewController {
         if let splitViewController = self.splitViewController as? NCSplitViewController {
             if splitViewController.isCollapsed {
                 if let navigationController = splitViewController.viewControllers.last as? UINavigationController {
-                    navigationController.popToRootViewController(animated: true)
+                    navigationController.popViewController(animated: true)
                 }
             } else {