For #15688: Navigate to home screen with arguments on new tab action.

upstream-sync
mcarare 4 years ago committed by ekager
parent ae74edecdb
commit 9274558e2f

@ -124,7 +124,7 @@ class DefaultBrowserToolbarController(
} }
is TabCounterMenu.Item.NewTab -> { is TabCounterMenu.Item.NewTab -> {
activity.browsingModeManager.mode = item.mode activity.browsingModeManager.mode = item.mode
navController.popBackStack(R.id.homeFragment, false) navController.navigate(BrowserFragmentDirections.actionGlobalHome(focusOnAddressBar = true))
} }
} }
} }

Loading…
Cancel
Save