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

Fixes #1700
main
Levi Bard 5 years ago committed by GitHub
parent 5b12e80297
commit 5d4865ae3c
  1. 2
      app/src/main/java/com/keylesspalace/tusky/components/compose/ComposeActivity.kt

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

Loading…
Cancel
Save