mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-30 09:18:18 +00:00
Make sure sidebar shows on first run on Duo.
This commit is contained in:
1 parent
a5cec78e2a
commit
0defd1959b
1 file changed
+2
-2
@@ -26,8 +26,8 @@ final class SceneDelegate: UIResponder, UIWindowSceneDelegate {
|
||||
rootViewController.showsSecondaryOnlyButton = true
|
||||
rootViewController.preferredDisplayMode = UISplitViewController.DisplayMode(rawValue: AppDefaults.splitViewPreferredDisplayMode) ?? .oneBesideSecondary
|
||||
|
||||
// On first run on iPad, show all three columns so the sidebar is visible
|
||||
if AppDefaults.isFirstRun && UIDevice.current.userInterfaceIdiom == .pad {
|
||||
// On first run, show all three columns so the sidebar is visible.
|
||||
if AppDefaults.isFirstRun {
|
||||
rootViewController.preferredDisplayMode = .twoBesideSecondary
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user