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:
parent
a9e3cb974b
commit
ff595c7854
@ -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…
Reference in New Issue
Block a user