File tree Expand file tree Collapse file tree
Coordinator/Sources/Coordinator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,23 +112,6 @@ public final class AppCoordinator: SessionProvider {
112112 settingsPath = NavigationPath ( )
113113 }
114114
115- // MARK: - Routing
116-
117- // Centralised routing table — called from both homeTab and itemsTab
118- // .navigationDestination closures, so destination logic lives in one place.
119- // @ViewBuilder not required for a single expression today, but keeps
120- // this method ready for switch/if-else routing as destination types grow.
121- //
122- // switch item.category {
123- // case .article: ArticleDetailView(item: item)
124- // case .video: VideoPlayerView(item: item)
125- // default: DetailContent(item: item)
126- // }
127- @ViewBuilder
128- func destinationView( for item: FeaturedItem ) -> some View {
129- DetailContent ( item: item, coordinator: self )
130- }
131-
132115 // MARK: - Flow Transitions
133116
134117 public func transitionToMainFlow( ) {
You can’t perform that action at this time.
0 commit comments