diff options
| author | Fuwn <[email protected]> | 2026-03-24 07:57:46 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-03-24 07:57:46 +0000 |
| commit | 021e6f20a376797df32db4e4121eb4766903a995 (patch) | |
| tree | f73c6047e6f462a17c1be1a1f3369c7ea79af024 /Sora/Views/ContentView.swift | |
| parent | Refine settings language and structure (diff) | |
| download | sora-testing-021e6f20a376797df32db4e4121eb4766903a995.tar.xz sora-testing-021e6f20a376797df32db4e4121eb4766903a995.zip | |
Refocus navigation around core content
Diffstat (limited to 'Sora/Views/ContentView.swift')
| -rw-r--r-- | Sora/Views/ContentView.swift | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/Sora/Views/ContentView.swift b/Sora/Views/ContentView.swift index fa3a69f..164d3e2 100644 --- a/Sora/Views/ContentView.swift +++ b/Sora/Views/ContentView.swift @@ -9,27 +9,7 @@ struct ContentView: View { var body: some View { #if os(macOS) NavigationSplitView(columnVisibility: $columnVisibility) { - List { - Text("Posts") - .tag(0) - } - } content: { - switch selectedTab { - case 1: - PostGridSearchHistoryView( - selectedTab: $selectedTab, - isPresented: .constant(false) - ) - - case 2: - BookmarksView(selectedTab: $selectedTab) - - case 3: - SettingsView() - - default: - PostGridView(selectedTab: $selectedTab, navigationPath: $navigationPath) - } + PostGridView(selectedTab: $selectedTab, navigationPath: $navigationPath) } detail: { if let post = manager.selectedPost { PostDetailsView(post: post, navigationPath: $navigationPath, posts: nil) |