From 1863ebae27b490a5a3a850063b26f2c0ca2d9bee Mon Sep 17 00:00:00 2001 From: mattlichtenstein Date: Thu, 11 Jul 2024 15:23:04 -0400 Subject: [PATCH] "Open in firefox" share sheet action opens tab in current browsing mode --- firefox-ios/Client/Coordinators/Router/RouteBuilder.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firefox-ios/Client/Coordinators/Router/RouteBuilder.swift b/firefox-ios/Client/Coordinators/Router/RouteBuilder.swift index 85d5f59804ebb..671af50f4146f 100644 --- a/firefox-ios/Client/Coordinators/Router/RouteBuilder.swift +++ b/firefox-ios/Client/Coordinators/Router/RouteBuilder.swift @@ -27,7 +27,7 @@ final class RouteBuilder { // use the last browsing mode the user was in. let isPrivate = Bool(urlScanner.value(query: "private") ?? "") ?? false var options: Set = isPrivate ? [Route.SearchOptions.switchToPrivacyMode] : - [Route.SearchOptions.switchToNormalMode] + [Route.SearchOptions.useCurrentBrowsingMode] recordTelemetry(input: host, isPrivate: isPrivate)