todo: fix back button behaviour

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2024-12-17 17:12:13 +01:00
parent 8e2b983295
commit 2244920b55
No known key found for this signature in database
GPG key ID: 4E577DC593B59BDF

View file

@ -68,6 +68,7 @@ class ComposeActivity : DrawerActivity() {
} }
} }
// FIXME: show previous screen
private val onBackPressedCallback = object : OnBackPressedCallback(true) { private val onBackPressedCallback = object : OnBackPressedCallback(true) {
override fun handleOnBackPressed() { override fun handleOnBackPressed() {
finish() finish()