marinofaggiana 4 years ago
parent
commit
d6e30c9468
1 changed files with 1 additions and 1 deletions
  1. 1 1
      iOSClient/Main/NCSplitViewController.swift

+ 1 - 1
iOSClient/Main/NCSplitViewController.swift

@@ -79,7 +79,7 @@ class NCSplitViewController: UISplitViewController {
             }
         }
         
-        if fraction == 1 {
+        if fraction == 1 || self.isCollapsed {
            if UIScreen.main.bounds.width > UIScreen.main.bounds.height {
                self.maximumPrimaryColumnWidth = max(UIScreen.main.bounds.width - gap, UIScreen.main.bounds.height - gap)
            } else {