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 committed by Alper Öztürk
parent a501c81bae
commit 12509aa30b

View file

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