2
0
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:
mcarare 2020-10-14 14:06:24 +03:00 committed by ekager
parent ae74edecdb
commit 9274558e2f

View File

@ -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))
}
}
}