[fenix] For https://github.com/mozilla-mobile/fenix/issues/14609 - Correct nav from new search experience to browser

pull/600/head
ekager 4 years ago committed by Emily Kager
parent 9ee799f489
commit 5e11508f7b

@ -229,7 +229,7 @@ class SearchDialogFragment : AppCompatDialogFragment(), UserInteractionHandler {
SupportUtils.SumoTopic.SEARCH_SUGGESTION
),
newTab = store.state.tabId == null,
from = BrowserDirection.FromSearch
from = BrowserDirection.FromSearchDialog
)
}
@ -331,7 +331,7 @@ class SearchDialogFragment : AppCompatDialogFragment(), UserInteractionHandler {
.openToBrowserAndLoad(
searchTermOrURL = result,
newTab = store.state.tabId == null,
from = BrowserDirection.FromSearch
from = BrowserDirection.FromSearchDialog
)
dialog.dismiss()
}

Loading…
Cancel
Save