Skip to content

Commit

Permalink
Merge branch 'main' into sabrina/fix_InfoPlist_string
Browse files Browse the repository at this point in the history
  • Loading branch information
SabrinaTardio authored Feb 26, 2024
2 parents f0c30ed + 19c2656 commit 5b3d9a7
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 14 deletions.
2 changes: 1 addition & 1 deletion DuckDuckGo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -13538,7 +13538,7 @@
repositoryURL = "https://github.com/duckduckgo/BrowserServicesKit";
requirement = {
kind = exactVersion;
version = 110.0.1;
version = 111.0.2;
};
};
AA06B6B52672AF8100F541C5 /* XCRemoteSwiftPackageReference "Sparkle" */ = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/duckduckgo/BrowserServicesKit",
"state" : {
"revision" : "483427db845410f10121cf2200f5a940c9bbf70b",
"version" : "110.0.1"
"revision" : "04c35220aa94bd005171086acccadd677400e7d5",
"version" : "111.0.2"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ final class SafariBookmarksReader {
let type: OperationType
let underlyingError: Error?

var errorType: DataImport.ErrorType { .dataCorrupted }
var errorType: DataImport.ErrorType {
switch underlyingError {
case let error as CocoaError where error.code == .fileReadNoSuchFile: .noData
default: .dataCorrupted
}
}
}

private let safariBookmarksFileURL: URL
Expand Down
2 changes: 1 addition & 1 deletion DuckDuckGo/DataImport/View/DataImportView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ struct DataImportView: ModalView {

// if no data to import
if model.summary(for: dataType)?.isEmpty == true
|| model.error(for: dataType)?.errorType == .noData {
|| model.error(for: dataType)?.errorType == .noData {

DataImportNoDataView(source: model.importSource, dataType: dataType)
.padding(.bottom, 24)
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: "110.0.1"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "111.0.2"),
.package(path: "../PixelKit"),
.package(path: "../SwiftUIExtensions"),
.package(path: "../XPCHelper")
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/LoginItems/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let package = Package(
),
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "110.0.1"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "111.0.2"),
],
targets: [
.target(
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: "110.0.1"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "111.0.2"),
.package(path: "../XPCHelper"),
.package(path: "../SwiftUIExtensions"),
.package(path: "../LoginItems")
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/PixelKit/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let package = Package(
)
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "110.0.1"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "111.0.2"),
],
targets: [
.target(
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: "110.0.1"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "111.0.2"),
.package(path: "../SwiftUIExtensions")
],
targets: [
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/SwiftUIExtensions/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let package = Package(
.library(name: "PreferencesViews", targets: ["PreferencesViews"]),
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "110.0.1"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "111.0.2"),
],
targets: [
.target(
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/SyncUI/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ let package = Package(
],
dependencies: [
.package(path: "../SwiftUIExtensions"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "110.0.1"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "111.0.2"),
],
targets: [
.target(
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/SystemExtensionManager/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let package = Package(
),
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "110.0.1"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "111.0.2"),
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/XPCHelper/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ let package = Package(
.library(name: "XPCHelper", targets: ["XPCHelper"]),
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "110.0.1"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "111.0.2"),
],
targets: [
.target(
Expand Down

0 comments on commit 5b3d9a7

Please sign in to comment.