fix: route navigation events correctly

Fixes #2865
This commit is contained in:
Harsh Shandilya 2024-01-21 23:48:44 +05:30
parent 24ec29e9e2
commit 964059e0da

View file

@ -315,7 +315,9 @@ class PasswordStore : BaseGitActivity() {
}
}
R.id.refresh -> refreshPasswordList()
android.R.id.home -> onBackPressedDispatcher.onBackPressed()
android.R.id.home -> {
@Suppress("DEPRECATION") onBackPressed()
}
else -> return super.onOptionsItemSelected(item)
}
return true