mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-04 03:08:43 +00:00
Always show Feed view on iPad on launch.
This commit is contained in:
1 parent
236943f821
commit
07c47bb7dc
1 file changed
+2
-2
@@ -28,8 +28,8 @@ final class SceneDelegate: UIResponder, UIWindowSceneDelegate {
|
||||
rootViewController.preferredDisplayMode = .oneBesideSecondary
|
||||
|
||||
Task { @MainActor in
|
||||
// Ensure Feeds view shows on first run on iPad — otherwise the UI is empty.
|
||||
if UIDevice.current.userInterfaceIdiom == .pad && AppDefaults.shared.isFirstRun {
|
||||
// Ensure Feeds view shows on iPad — otherwise the UI may be empty.
|
||||
if UIDevice.current.userInterfaceIdiom == .pad {
|
||||
rootViewController.show(.primary)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user