Skip to content

Commit

Permalink
update for macOS: visited links (#3353)
Browse files Browse the repository at this point in the history
  • Loading branch information
mallexxx authored Sep 13, 2024
1 parent 1b4e29a commit d5d9fbe
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions Core/HistoryManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public class HistoryManager: HistoryManaging {
let baseDomain = tld.eTLDplus1(domain) else { return }

await withCheckedContinuation { continuation in
historyCoordinator.burnDomains([baseDomain], tld: tld) {
historyCoordinator.burnDomains([baseDomain], tld: tld) { _ in
continuation.resume()
}
}
Expand Down Expand Up @@ -137,8 +137,8 @@ class NullHistoryCoordinator: HistoryCoordinating {
completion()
}

func burnDomains(_ baseDomains: Set<String>, tld: Common.TLD, completion: @escaping () -> Void) {
completion()
func burnDomains(_ baseDomains: Set<String>, tld: Common.TLD, completion: @escaping (Set<URL>) -> Void) {
completion([])
}

func burnVisits(_ visits: [History.Visit], completion: @escaping () -> Void) {
Expand Down
6 changes: 3 additions & 3 deletions Core/SyncErrorHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,21 @@ public enum AsyncErrorType: String {

public class SyncErrorHandler: EventMapping<SyncError> {
@UserDefaultsWrapper(key: .syncBookmarksPaused, defaultValue: false)
private (set) public var isSyncBookmarksPaused: Bool {
private(set) public var isSyncBookmarksPaused: Bool {
didSet {
isSyncPausedChangedPublisher.send()
}
}

@UserDefaultsWrapper(key: .syncCredentialsPaused, defaultValue: false)
private (set) public var isSyncCredentialsPaused: Bool {
private(set) public var isSyncCredentialsPaused: Bool {
didSet {
isSyncPausedChangedPublisher.send()
}
}

@UserDefaultsWrapper(key: .syncIsPaused, defaultValue: false)
private (set) public var isSyncPaused: Bool {
private(set) public var isSyncPaused: Bool {
didSet {
isSyncPausedChangedPublisher.send()
}
Expand Down
2 changes: 1 addition & 1 deletion DuckDuckGo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10853,7 +10853,7 @@
repositoryURL = "https://github.com/DuckDuckGo/BrowserServicesKit";
requirement = {
kind = exactVersion;
version = 193.2.1;
version = 194.0.0;
};
};
9F8FE9472BAE50E50071E372 /* 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" : "e304d397d61f74a43453748bdc86f933e3fe5425",
"version" : "193.2.1"
"revision" : "026acbd36fb80c95e0bfc6a9080e369dd85db66f",
"version" : "194.0.0"
}
},
{
Expand Down Expand Up @@ -138,7 +138,7 @@
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser.git",
"location" : "https://github.com/apple/swift-argument-parser",
"state" : {
"revision" : "0fbc8848e389af3bb55c182bc19ca9d5dc2f255b",
"version" : "1.4.0"
Expand Down

0 comments on commit d5d9fbe

Please sign in to comment.