Skip to content

Commit

Permalink
Merge branch 'release/1.97.0'
Browse files Browse the repository at this point in the history
# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	DuckDuckGo/YoutubePlayer/YoutubeOverlayUserScript.swift
#	LocalPackages/DataBrokerProtection/Package.swift
#	LocalPackages/NetworkProtectionMac/Package.swift
#	LocalPackages/SubscriptionUI/Package.swift
  • Loading branch information
Bunn committed Jul 16, 2024
2 parents f737ea0 + 9c82266 commit abb89db
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 13 deletions.
2 changes: 1 addition & 1 deletion DuckDuckGo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -13310,7 +13310,7 @@
repositoryURL = "https://github.com/duckduckgo/BrowserServicesKit";
requirement = {
kind = exactVersion;
version = 171.2.0;
version = 171.2.1;
};
};
9FF521422BAA8FF300B9819B /* XCRemoteSwiftPackageReference "lottie-spm" */ = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/duckduckgo/BrowserServicesKit",
"state" : {
"revision" : "a3bd039e78e75e0ad36dffbf1874b555738f22af",
"version" : "171.2.0"
"revision" : "09844ec2d0c9d2312e02c90527e8df063db89318",
"version" : "171.2.1"
}
},
{
"identity" : "content-scope-scripts",
"kind" : "remoteSourceControl",
"location" : "https://github.com/duckduckgo/content-scope-scripts",
"state" : {
"revision" : "d0d4f28bbe2fd44cbc5db5f109bb8453699308a3",
"version" : "6.1.0"
"revision" : "dc26bfc6e33ad9c79a719b7f21d5ca0564db1859",
"version" : "6.3.0"
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions DuckDuckGo/Statistics/Experiment/PixelExperiment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ final internal class PixelExperimentLogic {

func fireSerpPixel() {
if allocatedCohort != nil {
PixelKit.fire(GeneralPixel.serp(cohort: cohort?.rawValue), frequency: .standard, includeAppVersionParameter: false)
PixelKit.fire(GeneralPixel.serp(cohort: cohort?.rawValue), frequency: .standard)
} else {
PixelKit.fire(GeneralPixel.serp(cohort: nil), frequency: .standard, includeAppVersionParameter: false)
PixelKit.fire(GeneralPixel.serp(cohort: nil), frequency: .standard)
}
}

Expand Down
12 changes: 9 additions & 3 deletions DuckDuckGo/Windows/View/WindowControllersManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,15 @@ extension WindowControllersManager: OnboardingNavigating {
@MainActor
func replaceTabWith(_ tab: Tab) {
guard let tabToRemove = selectedTab else { return }
guard let index = mainWindowController?.mainViewController.tabCollectionViewModel.indexInAllTabs(of: tabToRemove) else { return }
mainWindowController?.mainViewController.tabCollectionViewModel.append(tab: tab)
mainWindowController?.mainViewController.tabCollectionViewModel.remove(at: index)
guard let mainWindowController else { return }
guard let index = mainWindowController.mainViewController.tabCollectionViewModel.indexInAllTabs(of: tabToRemove) else { return }
var tabToAppend = tab
if mainWindowController.mainViewController.isBurner {
let burnerMode = mainWindowController.mainViewController.tabCollectionViewModel.burnerMode
tabToAppend = Tab(content: tab.content, burnerMode: burnerMode)
}
mainWindowController.mainViewController.tabCollectionViewModel.append(tab: tabToAppend)
mainWindowController.mainViewController.tabCollectionViewModel.remove(at: index)
}

@MainActor
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/DataBrokerProtection/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ let package = Package(
targets: ["DataBrokerProtection"])
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "171.2.0"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "171.2.1"),
.package(path: "../SwiftUIExtensions"),
.package(path: "../XPCHelper"),
],
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/NetworkProtectionMac/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ let package = Package(
.library(name: "VPNAppLauncher", targets: ["VPNAppLauncher"]),
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "171.2.0"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "171.2.1"),
.package(url: "https://github.com/airbnb/lottie-spm", exact: "4.4.3"),
.package(path: "../AppLauncher"),
.package(path: "../UDSHelper"),
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/SubscriptionUI/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let package = Package(
targets: ["SubscriptionUI"]),
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "171.2.0"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "171.2.1"),
.package(path: "../SwiftUIExtensions")
],
targets: [
Expand Down

0 comments on commit abb89db

Please sign in to comment.