mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-15 18:12:54 +00:00
parent
eb0a10078c
commit
1e8de384d8
@ -67,7 +67,8 @@ open class HomeActivity : AppCompatActivity() {
|
|||||||
|
|
||||||
setContentView(R.layout.activity_home)
|
setContentView(R.layout.activity_home)
|
||||||
|
|
||||||
val appBarConfiguration = AppBarConfiguration.Builder(setOf(R.id.libraryFragment)).build()
|
// Add ids to this that we don't want to have a toolbar back button
|
||||||
|
val appBarConfiguration = AppBarConfiguration.Builder().build()
|
||||||
val navigationToolbar = findViewById<Toolbar>(R.id.navigationToolbar)
|
val navigationToolbar = findViewById<Toolbar>(R.id.navigationToolbar)
|
||||||
setSupportActionBar(navigationToolbar)
|
setSupportActionBar(navigationToolbar)
|
||||||
NavigationUI.setupWithNavController(navigationToolbar, navHost.navController, appBarConfiguration)
|
NavigationUI.setupWithNavController(navigationToolbar, navHost.navController, appBarConfiguration)
|
||||||
|
Loading…
Reference in New Issue
Block a user