Attempt n.1 to fix the back action

First attempt to fix the back button while compossing a status, so the
dialog telling the user to save or delete the draft isn't ignored.
This commit is contained in:
Adolfo Santiago 2022-05-21 11:40:25 +02:00
parent 81abedb89b
commit da32a9f66b
No known key found for this signature in database
GPG key ID: 244D6F9A317B4A65

View file

@ -1389,8 +1389,6 @@ class ComposeActivity : BaseActivity(),
} }
handleCloseButton() handleCloseButton()
super.onBackPressed()
} }
override fun onKeyDown(keyCode: Int, event: KeyEvent): Boolean { override fun onKeyDown(keyCode: Int, event: KeyEvent): Boolean {