mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Update "drafts" references in code to "local drafts"
This commit is contained in:
parent
3c26829407
commit
bc8ae19dab
@ -9,7 +9,7 @@ struct ContentView: View {
|
||||
|
||||
PostListView(selectedCollection: allPostsCollection)
|
||||
|
||||
Text("Select a post, or create a new draft.")
|
||||
Text("Select a post, or create a new local draft.")
|
||||
.foregroundColor(.secondary)
|
||||
}
|
||||
.environmentObject(model)
|
||||
|
@ -61,7 +61,7 @@ struct PostEditorView: View {
|
||||
}
|
||||
}
|
||||
|
||||
struct PostEditorView_NewDraftPreviews: PreviewProvider {
|
||||
struct PostEditorView_NewLocalDraftPreviews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
PostEditorView(post: Post())
|
||||
.environmentObject(WriteFreelyModel())
|
||||
|
@ -36,9 +36,9 @@ struct PostStatusBadgeView: View {
|
||||
}
|
||||
}
|
||||
|
||||
struct PostStatusBadge_DraftPreviews: PreviewProvider {
|
||||
struct PostStatusBadge_LocalDraftPreviews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
PostStatusBadgeView(post: testPostData[0])
|
||||
PostStatusBadgeView(post: testPostData[2])
|
||||
}
|
||||
}
|
||||
|
||||
@ -52,6 +52,6 @@ struct PostStatusBadge_EditedPreviews: PreviewProvider {
|
||||
|
||||
struct PostStatusBadge_PublishedPreviews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
PostStatusBadgeView(post: testPostData[2])
|
||||
PostStatusBadgeView(post: testPostData[0])
|
||||
}
|
||||
}
|
||||
|
@ -7,12 +7,12 @@
|
||||
<key>WriteFreely-MultiPlatform (iOS).xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>0</integer>
|
||||
<integer>1</integer>
|
||||
</dict>
|
||||
<key>WriteFreely-MultiPlatform (macOS).xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>1</integer>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
|
Loading…
Reference in New Issue
Block a user