Comment out the Delete option in the menu (to-do in #46)

This commit is contained in:
Angelo Stavrow 2020-10-08 15:29:06 -04:00
parent a3ffb5a470
commit 48625d4091
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE
2 changed files with 7 additions and 7 deletions

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>

View File

@ -183,11 +183,11 @@ struct PostEditorView: View {
Label("Share", systemImage: "square.and.arrow.up")
})
.disabled(post.postId == nil)
Button(action: {
print("Tapped 'Delete...' button")
}, label: {
Label("Delete…", systemImage: "trash")
})
// Button(action: {
// print("Tapped 'Delete...' button")
// }, label: {
// Label("Delete", systemImage: "trash")
// })
if model.account.isLoggedIn && post.status != PostStatus.local.rawValue {
Section(header: Text("Move To Collection")) {
Label("Move to:", systemImage: "arrowshape.zigzag.right")