Page MenuHomeMusing Studio

No OneTemporary

diff --git a/Shared/PostCollection/CollectionSidebar.swift b/Shared/PostCollection/CollectionSidebar.swift
index 2e0f997..f327128 100644
--- a/Shared/PostCollection/CollectionSidebar.swift
+++ b/Shared/PostCollection/CollectionSidebar.swift
@@ -1,23 +1,25 @@
import SwiftUI
struct CollectionSidebar: View {
private let collections = postCollections
-
+
var body: some View {
List {
ForEach(collections) { collection in
NavigationLink(
destination: PostList(selectedCollection: collection)
) {
Text(collection.title)
}
}
}
- .listStyle(SidebarListStyle())
+ .navigationTitle("Collections")
+ .listStyle(SidebarListStyle())
}
+}
struct CollectionSidebar_Previews: PreviewProvider {
static var previews: some View {
CollectionSidebar()
}
}

File Metadata

Mime Type
text/x-diff
Expires
Fri, Jan 30, 8:32 AM (5 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3610404

Event Timeline