Changes
1 changed files (+3/-2)
-
-
@@ -107,8 +107,8 @@ .frame(maxWidth: .infinity).environment(model) } .task { // macOS and iPad OS renders `NavigationSplitView` with columns whereas iOS // renders stacked views. In columns layout, having no default selection or // macOS, iPadOS and visionOS renders `NavigationSplitView` with columns whereas // iOS renders stacked views. In columns layout, having no default selection or // placeholder content ("select a category") is not user-friendly. // In iPad, the situation got worse; it hides sidebar on startup in portrait // orientation, so user will see blank browsing area. Placeholder won't help
-
@@ -118,6 +118,7 @@ let shouldHaveDefaultHierarchy = true#else let shouldHaveDefaultHierarchy = UIDevice.current.userInterfaceIdiom == .pad || UIDevice.current.userInterfaceIdiom == .vision #endif if shouldHaveDefaultHierarchy {
-