Skip to content

Commit

Permalink
Refactor function name
Browse files Browse the repository at this point in the history
  • Loading branch information
dattasneha committed Aug 30, 2024
1 parent 6123a6d commit 2ae2eec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class AdministratorControlsActivity :

onBackPressedDispatcher.addCallback(this, object : OnBackPressedCallback(/* enabled = */ true) {
override fun handleOnBackPressed() {
this@AdministratorControlsActivity.handleTheOnBackPressed()
this@AdministratorControlsActivity.handleBackPress()
}
})
}
Expand Down Expand Up @@ -128,7 +128,7 @@ class AdministratorControlsActivity :
}
}

private fun handleTheOnBackPressed() {
private fun handleBackPress() {
val fragment =
supportFragmentManager.findFragmentById(
R.id.administrator_controls_fragment_multipane_placeholder
Expand Down

0 comments on commit 2ae2eec

Please sign in to comment.