From da32a9f66b604118c206e682af4e001e68ecdc34 Mon Sep 17 00:00:00 2001 From: Adolfo Santiago Date: Sat, 21 May 2022 11:40:25 +0200 Subject: [PATCH] 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. --- .../keylesspalace/tusky/components/compose/ComposeActivity.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/husky/app/src/main/java/com/keylesspalace/tusky/components/compose/ComposeActivity.kt b/husky/app/src/main/java/com/keylesspalace/tusky/components/compose/ComposeActivity.kt index e45bfaa..2fe1af5 100644 --- a/husky/app/src/main/java/com/keylesspalace/tusky/components/compose/ComposeActivity.kt +++ b/husky/app/src/main/java/com/keylesspalace/tusky/components/compose/ComposeActivity.kt @@ -1389,8 +1389,6 @@ class ComposeActivity : BaseActivity(), } handleCloseButton() - - super.onBackPressed() } override fun onKeyDown(keyCode: Int, event: KeyEvent): Boolean {