Make sure sidebar shows on first run on Duo.

This commit is contained in:
Brent Simmons committed 2026-11-15 21:44:42 -08:00
1 parent a5cec78e2a
commit 0defd1959b
1 file changed
+2 -2
+2 -2
View File
@@ -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
}