diff --git a/Tusker/Screens/Compose/DraftsView.swift b/Tusker/Screens/Compose/DraftsView.swift index 733d90e1..e22ff499 100644 --- a/Tusker/Screens/Compose/DraftsView.swift +++ b/Tusker/Screens/Compose/DraftsView.swift @@ -31,6 +31,13 @@ struct DraftsView: View { } label: { DraftView(draft: draft) } + .contextMenu { + Button(role: .destructive) { + draftsManager.remove(draft) + } label: { + Label("Delete Draft", systemImage: "trash") + } + } .onDrag { let activity = UserActivityManager.editDraftActivity(id: draft.id, accountID: mastodonController.accountInfo!.id) activity.displaysAuxiliaryScene = true