mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Comment out the Delete option in the menu (to-do in #46)
This commit is contained in:
parent
a3ffb5a470
commit
48625d4091
@ -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>
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user