Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Open a new tab should open a tab in existing mode
Browse files Browse the repository at this point in the history
  • Loading branch information
soner-yuksel committed Jul 8, 2021
1 parent d59b00c commit f555619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Client/Application/Shortcuts/ActivityShortcutManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class ActivityShortcutManager: NSObject {
private func handleActivityDetails(type: ActivityType, using bvc: BrowserViewController) {
switch type {
case .newTab:
bvc.openBlankNewTab(attemptLocationFieldFocus: false, isPrivate: false, isExternal: true)
bvc.openBlankNewTab(attemptLocationFieldFocus: false, isPrivate: PrivateBrowsingManager.shared.isPrivateBrowsing, isExternal: true)
bvc.popToBVC()
case .newPrivateTab:
bvc.openBlankNewTab(attemptLocationFieldFocus: false, isPrivate: true, isExternal: true)
Expand Down

0 comments on commit f555619

Please sign in to comment.