Fix Save Draft action not working
This commit is contained in:
parent
2080fdc955
commit
df9fb3c527
|
@ -186,7 +186,7 @@ public final class ComposeController: ViewController {
|
|||
@MainActor
|
||||
func cancel(deleteDraft: Bool) {
|
||||
deleteDraftOnDisappear = true
|
||||
userConfirmedDelete = true
|
||||
userConfirmedDelete = deleteDraft
|
||||
config.dismiss(.cancel)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue