Skip to content

Commit

Permalink
Mergeback from 1.86.0
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoreymendez committed May 3, 2024
2 parents a836a5c + 1342d8f commit 4778c20
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 22 deletions.
2 changes: 1 addition & 1 deletion DuckDuckGo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -12748,7 +12748,7 @@
repositoryURL = "https://github.com/duckduckgo/BrowserServicesKit";
requirement = {
kind = exactVersion;
version = 143.0.0;
version = 143.0.1;
};
};
9FF521422BAA8FF300B9819B /* XCRemoteSwiftPackageReference "lottie-spm" */ = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/duckduckgo/BrowserServicesKit",
"state" : {
"revision" : "7c41d69a93bbe80639fb7489e2018e5957ac2b5c",
"version" : "143.0.0"
"revision" : "dedd5ef4cc71379e43cbd8244374a53043163e21",
"version" : "143.0.1"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ final class NetworkProtectionAppEvents {
}

restartNetworkProtectionIfVersionChanged(using: loginItemsManager)
refreshNetworkProtectionServers()
}
}

Expand All @@ -97,19 +96,4 @@ final class NetworkProtectionAppEvents {
loginItemsManager.restartLoginItems(LoginItemsManager.networkProtectionLoginItems, log: .networkProtection)
}

/// Fetches a new list of VPN servers, and updates the existing set.
///
private func refreshNetworkProtectionServers() {
Task {
let serverCount: Int
do {
serverCount = try await NetworkProtectionDeviceManager.create().refreshServerList().count
} catch {
os_log("Failed to update DuckDuckGo VPN servers", log: .networkProtection, type: .error)
return
}

os_log("Successfully updated DuckDuckGo VPN servers; total server count = %{public}d", log: .networkProtection, serverCount)
}
}
}
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: "143.0.0"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "143.0.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 @@ -31,7 +31,7 @@ let package = Package(
.library(name: "NetworkProtectionUI", targets: ["NetworkProtectionUI"]),
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "143.0.0"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "143.0.1"),
.package(url: "https://github.com/airbnb/lottie-spm", exact: "4.4.1"),
.package(path: "../XPCHelper"),
.package(path: "../SwiftUIExtensions"),
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: "143.0.0"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "143.0.1"),
.package(path: "../SwiftUIExtensions")
],
targets: [
Expand Down

0 comments on commit 4778c20

Please sign in to comment.