mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-16 07:45:06 +00:00
removed useless check inside 'when' statement
This commit is contained in:
parent
ae37a1e406
commit
18cad94748
1 changed files with 0 additions and 4 deletions
|
@ -102,10 +102,6 @@ class MainActivity : AppCompatActivity() {
|
|||
|
||||
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
||||
return when (item.itemId) {
|
||||
android.R.id.home -> {
|
||||
onBackPressedDispatcher.onBackPressed()
|
||||
true
|
||||
}
|
||||
R.id.toolbar_about -> {
|
||||
navHost.navigate(HomeFragmentDirections.toAboutFragment())
|
||||
true
|
||||
|
|
Loading…
Reference in a new issue