Fix Save Draft action not working

This commit is contained in:
Shadowfacts 2023-05-16 00:06:58 -04:00
parent 2080fdc955
commit df9fb3c527
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ public final class ComposeController: ViewController {
@MainActor
func cancel(deleteDraft: Bool) {
deleteDraftOnDisappear = true
userConfirmedDelete = true
userConfirmedDelete = deleteDraft
config.dismiss(.cancel)
}