mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
add detail column for mac app only
This commit is contained in:
parent
c27eafebde
commit
bedd5d8784
1 changed files with 7 additions and 6 deletions
|
|
@ -26,14 +26,15 @@ public struct PrimaryContentView: View {
|
|||
return NavigationView {
|
||||
// The first column is the sidebar.
|
||||
PrimaryContentSidebar(categories: categories)
|
||||
.navigationBarTitle("Categories")
|
||||
.navigationTitle("Categories")
|
||||
|
||||
// Second column is the Primary Nav Stack
|
||||
if let destinationView = categories.first?.destinationView {
|
||||
destinationView
|
||||
} else {
|
||||
Text("Select a Category")
|
||||
}
|
||||
PrimaryContentCategory.feed.destinationView
|
||||
|
||||
// Add a third column for macOS only
|
||||
#if os(macOS)
|
||||
Text("Select a link from the feed")
|
||||
#endif
|
||||
}
|
||||
.accentColor(.appGrayTextContrast)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue