mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 23:40:33 +05:30
Format the changes by the previous commit
This commit is contained in:
parent
6b46db0e96
commit
3855f1fbdf
@ -8,7 +8,6 @@ import android.os.Build
|
|||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import android.os.Handler
|
import android.os.Handler
|
||||||
import android.os.Looper
|
import android.os.Looper
|
||||||
import android.util.Log
|
|
||||||
import android.view.Menu
|
import android.view.Menu
|
||||||
import android.view.MenuItem
|
import android.view.MenuItem
|
||||||
import android.view.View
|
import android.view.View
|
||||||
@ -342,8 +341,8 @@ class MainActivity : BaseActivity() {
|
|||||||
}
|
}
|
||||||
// Handover back press to `BackPressedDispatcher`
|
// Handover back press to `BackPressedDispatcher`
|
||||||
else if (binding.bottomNav.menu.children.none {
|
else if (binding.bottomNav.menu.children.none {
|
||||||
it.itemId == navController.currentDestination?.id
|
it.itemId == navController.currentDestination?.id
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
this@MainActivity.onBackPressedDispatcher.onBackPressed()
|
this@MainActivity.onBackPressedDispatcher.onBackPressed()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user