Page MenuHomeMusing Studio

No OneTemporary

diff --git a/Shared/Navigation/ContentView.swift b/Shared/Navigation/ContentView.swift
index b99118a..c9cc96b 100644
--- a/Shared/Navigation/ContentView.swift
+++ b/Shared/Navigation/ContentView.swift
@@ -1,27 +1,28 @@
import SwiftUI
struct ContentView: View {
@ObservedObject var postStore: PostStore
+ @State private var selectedCollection: PostCollection = defaultDraftCollection
var body: some View {
NavigationView {
PostList(title: "Posts")
.frame(maxHeight: .infinity)
.toolbar {
NavigationLink(destination: PostEditor(post: Post())) {
Image(systemName: "plus")
}
}
Text("Select a post, or create a new draft.")
.foregroundColor(.secondary)
}
.environmentObject(postStore)
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView(postStore: testPostStore)
}
}

File Metadata

Mime Type
text/x-diff
Expires
Fri, Feb 20, 6:57 AM (18 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3633759

Event Timeline