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

View file

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