Fixed intendation Signed-off-by: Ezhil Shanmugham ezhil56x.contact@gmail.com

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Ezhil Shanmugham 2023-05-22 19:07:50 +05:30 committed by Andy Scherzinger
parent 64fa8e830b
commit dff9ea5651
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
2 changed files with 3 additions and 3 deletions

View file

@ -363,7 +363,7 @@ class MainActivity : BaseActivity(), ActionBarProvider {
}
}
fun handleOnBackPressed() {
fun handleOnBackPressed() {
if (!router!!.handleBack()) {
onBackPressedDispatcher.onBackPressed()
}

View file

@ -238,9 +238,9 @@ class MessageSearchActivity : BaseActivity() {
.subscribe { newText -> viewModel.onQueryTextChange(newText) }
}
fun handleOnBackPressed() {
fun handleOnBackPressed() {
setResult(Activity.RESULT_CANCELED)
finishAffinity()
finishAffinity()
}
override fun onOptionsItemSelected(item: MenuItem): Boolean {