From 4e12191893aef482b8ad8e986531bb9681406057 Mon Sep 17 00:00:00 2001 From: Satindar Dhillon Date: Sat, 26 Feb 2022 20:01:38 -0800 Subject: [PATCH] drop from three panels to two on ipad/mac nav --- .../OmnivoreKit/Sources/App/Views/PrimaryContentView.swift | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apple/OmnivoreKit/Sources/App/Views/PrimaryContentView.swift b/apple/OmnivoreKit/Sources/App/Views/PrimaryContentView.swift index 422e770cb..69277f47c 100644 --- a/apple/OmnivoreKit/Sources/App/Views/PrimaryContentView.swift +++ b/apple/OmnivoreKit/Sources/App/Views/PrimaryContentView.swift @@ -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) }