drop from three panels to two on ipad/mac nav

This commit is contained in:
Satindar Dhillon 2022-02-26 20:01:38 -08:00
parent 64ceca0e63
commit 4e12191893

View file

@ -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)
}