diff --git a/DuckDuckGo.xcodeproj/project.pbxproj b/DuckDuckGo.xcodeproj/project.pbxproj index 50230b2f99..63ba24736f 100644 --- a/DuckDuckGo.xcodeproj/project.pbxproj +++ b/DuckDuckGo.xcodeproj/project.pbxproj @@ -9157,7 +9157,7 @@ repositoryURL = "https://github.com/DuckDuckGo/BrowserServicesKit"; requirement = { kind = exactVersion; - version = 92.0.3; + version = 92.0.4; }; }; C14882EB27F211A000D59F0C /* XCRemoteSwiftPackageReference "SwiftSoup" */ = { diff --git a/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index c942374997..5ed910bf01 100644 --- a/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -15,8 +15,8 @@ "repositoryURL": "https://github.com/DuckDuckGo/BrowserServicesKit", "state": { "branch": null, - "revision": "5ca0b3d915ab73de43744db40edf41c1d5060034", - "version": "92.0.3" + "revision": "33e55105acc9d6d69ae1326fd5c506cefb89d5cc", + "version": "92.0.4" } }, { @@ -51,8 +51,8 @@ "repositoryURL": "https://github.com/duckduckgo/duckduckgo-autofill.git", "state": { "branch": null, - "revision": "93677cc02cfe650ce7f417246afd0e8e972cd83e", - "version": "10.0.0" + "revision": "dbecae0df07650a21b5632a92fa2e498c96af7b5", + "version": "10.0.1" } }, { diff --git a/LocalPackages/SyncUI/Sources/SyncUI/Views/Internal/QRCodeView.swift b/LocalPackages/SyncUI/Sources/SyncUI/Views/Internal/QRCodeView.swift index ca1939e9e4..48374484f6 100644 --- a/LocalPackages/SyncUI/Sources/SyncUI/Views/Internal/QRCodeView.swift +++ b/LocalPackages/SyncUI/Sources/SyncUI/Views/Internal/QRCodeView.swift @@ -22,23 +22,14 @@ import UIKit import SwiftUI struct QRCodeView: View { - - enum Style { - - case light, dark - - } - let context = CIContext() let string: String let size: CGFloat - let style: Style - init(string: String, size: CGFloat, style: Style = .light) { + init(string: String, size: CGFloat) { self.string = string self.size = size - self.style = style } var body: some View { @@ -69,8 +60,8 @@ struct QRCodeView: View { } let colorParameters: [String: Any] = [ - "inputColor0": CIColor(color: style == .light ? .white : .black), - "inputColor1": CIColor(color: style == .light ? .black : .white) + "inputColor0": CIColor(color: .black), + "inputColor1": CIColor(color: .white) ] let coloredImage = outputImage.applyingFilter("CIFalseColor", parameters: colorParameters) diff --git a/LocalPackages/SyncUI/Sources/SyncUI/Views/SaveRecoveryKeyView.swift b/LocalPackages/SyncUI/Sources/SyncUI/Views/SaveRecoveryKeyView.swift index d4a5bc3a5e..3fa628d10e 100644 --- a/LocalPackages/SyncUI/Sources/SyncUI/Views/SaveRecoveryKeyView.swift +++ b/LocalPackages/SyncUI/Sources/SyncUI/Views/SaveRecoveryKeyView.swift @@ -41,7 +41,7 @@ public struct SaveRecoveryKeyView: View { func recoveryInfo() -> some View { VStack(spacing: 26) { HStack(spacing: 16) { - QRCodeView(string: model.key, size: 64, style: .dark) + QRCodeView(string: model.key, size: 64) Text(model.key) .fontWeight(.light)