fixed #661
This commit is contained in:
parent
8398953ec8
commit
38f6e280cd
|
@ -192,7 +192,7 @@ class ComposeActivity : BaseActivity(), OnMenuItemClickListener, OnClickListener
|
|||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
if (!shouldSkipDraft && hasComposingStatus()) {
|
||||
if (!shouldSkipDraft && hasComposingStatus() && isFinishing) {
|
||||
saveToDrafts()
|
||||
Toast.makeText(this, R.string.status_saved_to_draft, Toast.LENGTH_SHORT).show()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue