mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
drop from three panels to two on ipad/mac nav
This commit is contained in:
parent
64ceca0e63
commit
4e12191893
1 changed files with 1 additions and 5 deletions
|
|
@ -26,17 +26,13 @@ public struct PrimaryContentView: View {
|
|||
return NavigationView {
|
||||
// The first column is the sidebar.
|
||||
PrimaryContentSidebar(categories: categories)
|
||||
.navigationTitle("Categories")
|
||||
|
||||
// Initial Content of second column
|
||||
// Second column is the Primary Nav Stack
|
||||
if let destinationView = categories.first?.destinationView {
|
||||
destinationView
|
||||
} else {
|
||||
Text("Select a Category")
|
||||
}
|
||||
|
||||
// Initial content of detail view
|
||||
Text("No Selection")
|
||||
}
|
||||
.accentColor(.appGrayTextContrast)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue