We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8092e0 commit 2e308f9Copy full SHA for 2e308f9
migrator/AppContext.swift
@@ -108,7 +108,7 @@ struct AppContext {
108
static var duplicateFilesHandlingPolice: DuplicateFilesHandlingPolicy {
109
return DuplicateFilesHandlingPolicy(rawValue: UserDefaults.standard.string(forKey: Self.duplicateFilesHandlingPolicyKey) ?? "overwrite") ?? .overwrite
110
}
111
- static var urlExclusionsList: [URL?] {
+ static var urlExclusionList: [URL?] {
112
let managedExcludedPaths = UserDefaults.standard.array(forKey: Self.excludedPathsListKey) as? [String] ?? []
113
let managedExcludedURLs = managedExcludedPaths.compactMap { URL(string: $0) }
114
return managedExcludedURLs + defaultUrlExclusionList
0 commit comments