summaryrefslogtreecommitdiff
path: root/Sora/Views/ContentView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Sora/Views/ContentView.swift')
-rw-r--r--Sora/Views/ContentView.swift6
1 files changed, 4 insertions, 2 deletions
diff --git a/Sora/Views/ContentView.swift b/Sora/Views/ContentView.swift
index 8adb8f5..7471c9f 100644
--- a/Sora/Views/ContentView.swift
+++ b/Sora/Views/ContentView.swift
@@ -46,11 +46,13 @@ struct ContentView: View {
}
.navigationDestination(for: PostWithContext.self) { context in
PostDetailsView(
- post: context.post, navigationPath: $navigationPath, posts: context.posts)
+ post: context.post, navigationPath: $navigationPath, posts: context.posts
+ )
}
.navigationDestination(for: String.self) { tag in
PostGridView(
- selectedTab: $selectedTab, initialTag: tag, navigationPath: $navigationPath)
+ selectedTab: $selectedTab, navigationPath: $navigationPath, initialTag: tag
+ )
}
}
#endif