diff --git a/Outpost/Features/Collections/ContentView_macOS.swift b/Outpost/Features/Collections/ContentView_macOS.swift index 53b1a8f..5cefa75 100644 --- a/Outpost/Features/Collections/ContentView_macOS.swift +++ b/Outpost/Features/Collections/ContentView_macOS.swift @@ -66,6 +66,14 @@ struct ContentView_macOS: View { .navigationSplitViewColumnWidth(min: 220, ideal: 260) } detail: { detail + // NavigationSplitView on macOS doesn't reliably tear down the + // detail pane's previous content when swapping between very + // different subtrees (a NavigationStack with a document + // pushed vs. plain SettingsView) off an implicit branch + // alone — an explicit identity change forces a real + // teardown/remount instead of it silently leaving the old + // document visible underneath. + .id(navigation.isShowingSettings) } // Empty rather than a real value: with one, the native title rendered // in the same toolbar row as the custom `.navigation` pill below,