mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
For #15688: Navigate to home screen with arguments on new tab action.
This commit is contained in:
parent
ae74edecdb
commit
9274558e2f
@ -124,7 +124,7 @@ class DefaultBrowserToolbarController(
|
||||
}
|
||||
is TabCounterMenu.Item.NewTab -> {
|
||||
activity.browsingModeManager.mode = item.mode
|
||||
navController.popBackStack(R.id.homeFragment, false)
|
||||
navController.navigate(BrowserFragmentDirections.actionGlobalHome(focusOnAddressBar = true))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user