diff --git a/iOS/Base.lproj/Main.storyboard b/iOS/Base.lproj/Main.storyboard index beb42c639..ad2c65b9e 100644 --- a/iOS/Base.lproj/Main.storyboard +++ b/iOS/Base.lproj/Main.storyboard @@ -2,7 +2,6 @@ - @@ -159,7 +158,7 @@ - + @@ -432,7 +431,7 @@ - + diff --git a/iOS/SceneDelegate.swift b/iOS/SceneDelegate.swift index 5f5ec0514..7bad7ccb1 100644 --- a/iOS/SceneDelegate.swift +++ b/iOS/SceneDelegate.swift @@ -24,6 +24,15 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { UINavigationBar.appearance().scrollEdgeAppearance = UINavigationBarAppearance() let rootViewController = window!.rootViewController as! RootSplitViewController + rootViewController.presentsWithGesture = true + rootViewController.showsSecondaryOnlyButton = true + if AppDefaults.shared.isFirstRun { + // This ensures that the Feeds view shows on first-run. + rootViewController.preferredDisplayMode = .twoBesideSecondary + } else { + rootViewController.preferredDisplayMode = .oneBesideSecondary + } + coordinator = SceneCoordinator(rootSplitViewController: rootViewController) rootViewController.coordinator = coordinator rootViewController.delegate = coordinator