mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/1556 - Add back button to LibraryFragment (https://github.com/mozilla-mobile/fenix/pull/2200)
This commit is contained in:
parent
f5614eb93a
commit
7d782bfd31
@ -67,7 +67,8 @@ open class HomeActivity : AppCompatActivity() {
|
||||
|
||||
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)
|
||||
setSupportActionBar(navigationToolbar)
|
||||
NavigationUI.setupWithNavController(navigationToolbar, navHost.navController, appBarConfiguration)
|
||||
|
Loading…
Reference in New Issue
Block a user