For #14609 - Correct nav from new search experience to browser
This commit is contained in:
parent
85cb74a3c9
commit
e80b46ced0
|
@ -229,7 +229,7 @@ class SearchDialogFragment : AppCompatDialogFragment(), UserInteractionHandler {
|
||||||
SupportUtils.SumoTopic.SEARCH_SUGGESTION
|
SupportUtils.SumoTopic.SEARCH_SUGGESTION
|
||||||
),
|
),
|
||||||
newTab = store.state.tabId == null,
|
newTab = store.state.tabId == null,
|
||||||
from = BrowserDirection.FromSearch
|
from = BrowserDirection.FromSearchDialog
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -331,7 +331,7 @@ class SearchDialogFragment : AppCompatDialogFragment(), UserInteractionHandler {
|
||||||
.openToBrowserAndLoad(
|
.openToBrowserAndLoad(
|
||||||
searchTermOrURL = result,
|
searchTermOrURL = result,
|
||||||
newTab = store.state.tabId == null,
|
newTab = store.state.tabId == null,
|
||||||
from = BrowserDirection.FromSearch
|
from = BrowserDirection.FromSearchDialog
|
||||||
)
|
)
|
||||||
dialog.dismiss()
|
dialog.dismiss()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user