Skip to content

Commit

Permalink
bump BSK (changed dashboard API) (#2111)
Browse files Browse the repository at this point in the history
Co-authored-by: Shane Osbourne <[email protected]>
  • Loading branch information
shakyShane and Shane Osbourne authored Oct 23, 2023
1 parent df98d54 commit 97551e4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion DuckDuckGo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8978,7 +8978,7 @@
repositoryURL = "https://github.com/DuckDuckGo/BrowserServicesKit";
requirement = {
kind = exactVersion;
version = 81.5.0;
version = 82.0.0;
};
};
C14882EB27F211A000D59F0C /* XCRemoteSwiftPackageReference "SwiftSoup" */ = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"repositoryURL": "https://github.com/DuckDuckGo/BrowserServicesKit",
"state": {
"branch": null,
"revision": "c427dc63421c4b394f54c245de8e5665bcd6966a",
"version": "81.5.0"
"revision": "dd595d952e0076a7a01d086ed2424838dcd985af",
"version": "82.0.0"
}
},
{
Expand Down Expand Up @@ -105,8 +105,8 @@
"repositoryURL": "https://github.com/duckduckgo/privacy-dashboard",
"state": {
"branch": null,
"revision": "51e2b46f413bf3ef18afefad631ca70f2c25ef70",
"version": "1.4.0"
"revision": "b4ac92a444e79d5651930482623b9f6dc9265667",
"version": "2.0.0"
}
},
{
Expand Down Expand Up @@ -156,7 +156,7 @@
},
{
"package": "TrackerRadarKit",
"repositoryURL": "https://github.com/duckduckgo/TrackerRadarKit",
"repositoryURL": "https://github.com/duckduckgo/TrackerRadarKit.git",
"state": {
"branch": null,
"revision": "4684440d03304e7638a2c8086895367e90987463",
Expand Down
7 changes: 4 additions & 3 deletions DuckDuckGo/PrivacyDashboardViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,10 @@ extension PrivacyDashboardViewController: Themable {
}

extension PrivacyDashboardViewController: PrivacyDashboardControllerDelegate {

func privacyDashboardController(_ privacyDashboardController: PrivacyDashboardController, didChangeProtectionSwitch isEnabled: Bool) {
privacyDashboardProtectionSwitchChangeHandler(enabled: isEnabled)

func privacyDashboardController(_ privacyDashboardController: PrivacyDashboardController,
didChangeProtectionSwitch protectionState: ProtectionState) {
privacyDashboardProtectionSwitchChangeHandler(enabled: protectionState.isProtected)
}

func privacyDashboardController(_ privacyDashboardController: PrivacyDashboardController, didRequestOpenUrlInNewTab url: URL) {
Expand Down

0 comments on commit 97551e4

Please sign in to comment.