Update "drafts" references in code to "local drafts"

This commit is contained in:
Angelo Stavrow 2020-09-01 09:59:36 -04:00
parent 3c26829407
commit bc8ae19dab
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE
4 changed files with 7 additions and 7 deletions

View File

@ -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)

View File

@ -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())

View File

@ -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])
}
}

View File

@ -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>