Delete draft when sending its status completes. (#1704)

Fixes #1700
This commit is contained in:
Levi Bard 2020-02-19 21:10:22 +01:00 committed by GitHub
parent 3f3166522b
commit 9a173f0234
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -758,7 +758,7 @@ class ComposeActivity : BaseActivity(),
viewModel.sendStatus(contentText, spoilerText).observe(this, Observer {
finishingUploadDialog?.dismiss()
finishWithoutSlideOutAnimation()
deleteDraftAndFinish()
})
} else {