Skip to content

Commit 7a26978

Browse files
subin-chellaschel
andauthored
Fixed the back navigation after web search (#1079)
Co-authored-by: Subin C <[email protected]>
1 parent 8f49a78 commit 7a26978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/duckduckgo/app/browser/BrowserActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ class BrowserActivity : DuckDuckGoActivity(), CoroutineScope by MainScope() {
225225
launch { viewModel.onOpenShortcut(sharedText) }
226226
} else {
227227
Timber.w("opening in new tab requested for $sharedText")
228-
launch { viewModel.onOpenInNewTabRequested(query = sharedText, skipHome = true) }
228+
launch { viewModel.onOpenInNewTabRequested(query = sharedText, sourceTabId = currentTab?.tabId, skipHome = true) }
229229
return
230230
}
231231
}

0 commit comments

Comments
 (0)