mirror of
https://github.com/YTVanced/VancedManager
synced 2024-12-03 16:27:25 +00:00
main activity tests
This commit is contained in:
parent
a22a9a0f6c
commit
ba0545702a
1 changed files with 3 additions and 2 deletions
|
@ -22,8 +22,9 @@ class MainActivity : Main() {
|
|||
|
||||
val toolbar: Toolbar = findViewById(R.id.home_toolbar)
|
||||
setSupportActionBar(toolbar)
|
||||
}
|
||||
|
||||
val navHost = findNavController(R.id.bottom_nav_host)
|
||||
/*val navHost = findNavController(R.id.bottom_nav_host)
|
||||
val appBarConfiguration = AppBarConfiguration(navHost.graph)
|
||||
toolbar.setupWithNavController(navHost, appBarConfiguration)
|
||||
|
||||
|
@ -66,7 +67,7 @@ class MainActivity : Main() {
|
|||
}
|
||||
return false
|
||||
}
|
||||
|
||||
*/
|
||||
private fun setDisplayHomeAsUpEnabled(isNeeded: Boolean) {
|
||||
val toolbar: Toolbar = findViewById(R.id.home_toolbar)
|
||||
when {
|
||||
|
|
Loading…
Reference in a new issue