Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
No issue: Add external load flag
Browse files Browse the repository at this point in the history
  • Loading branch information
rocketsroger authored and pocmo committed Oct 25, 2021
1 parent 170fa97 commit 367c5f4
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -39,6 +39,7 @@ import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.map
import kotlinx.coroutines.launch
import mozilla.components.browser.toolbar.BrowserToolbar
import mozilla.components.concept.engine.EngineSession
import mozilla.components.concept.storage.HistoryStorage
import mozilla.components.feature.qr.QrFeature
import mozilla.components.lib.state.ext.consumeFlow
Expand Down Expand Up @@ -518,7 +519,8 @@ class SearchDialogFragment : AppCompatDialogFragment(), UserInteractionHandler {
(activity as? HomeActivity)?.openToBrowserAndLoad(
searchTermOrURL = result,
newTab = store.state.tabId == null,
from = BrowserDirection.FromSearchDialog
from = BrowserDirection.FromSearchDialog,
flags = EngineSession.LoadUrlFlags.external()
)
dialog.dismiss()
}
Expand Down

0 comments on commit 367c5f4

Please sign in to comment.