2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-17 15:26:23 +00:00

[fenix] For https://github.com/mozilla-mobile/fenix/issues/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 a9e3cb974b
commit ff595c7854

View File

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