Skip to content

Commit

Permalink
Updates BSK to 140.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoreymendez committed Apr 26, 2024
2 parents 2abb32f + a072d59 commit d5bd0dd
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 27 deletions.
4 changes: 2 additions & 2 deletions DuckDuckGo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -12732,7 +12732,7 @@
repositoryURL = "https://github.com/duckduckgo/BrowserServicesKit";
requirement = {
kind = exactVersion;
version = 138.0.0;
version = "138.0.0-1";
};
};
4311906792B7676CE9535D76 /* XCRemoteSwiftPackageReference "BrowserServicesKit" */ = {
Expand All @@ -12748,7 +12748,7 @@
repositoryURL = "https://github.com/duckduckgo/BrowserServicesKit";
requirement = {
kind = exactVersion;
version = 140.0.1;
version = 140.0.2;
};
};
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" : "b1501e60d245625d4a5d42a61b329364134f0879",
"version" : "140.0.1"
"revision" : "4340e2840f6ca634e61caffd1ced913603ddf0eb",
"version" : "140.0.2"
}
},
{
Expand Down
22 changes: 2 additions & 20 deletions DuckDuckGo/Waitlist/NetworkProtectionFeatureVisibility.swift
Original file line number Diff line number Diff line change
Expand Up @@ -166,29 +166,11 @@ struct DefaultNetworkProtectionVisibility: NetworkProtectionFeatureVisibility {
}

private var isWaitlistBetaActive: Bool {
switch featureOverrides.waitlistActive {
case .useRemoteValue:
guard privacyConfigurationManager.privacyConfig.isSubfeatureEnabled(NetworkProtectionSubfeature.waitlistBetaActive) else {
return false
}

return true
case .on:
return true
case .off:
return false
}
true
}

private var isWaitlistEnabled: Bool {
switch featureOverrides.waitlistEnabled {
case .useRemoteValue:
return privacyConfigurationManager.privacyConfig.isSubfeatureEnabled(NetworkProtectionSubfeature.waitlist)
case .on:
return true
case .off:
return false
}
true
}

func disableForAllUsers() async {
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: "140.0.1"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "140.0.2"),
.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: "140.0.1"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "140.0.2"),
.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: "140.0.1"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "140.0.2"),
.package(path: "../SwiftUIExtensions")
],
targets: [
Expand Down

0 comments on commit d5bd0dd

Please sign in to comment.