Skip to content

Commit

Permalink
Fixes an issue with my last merge
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoreymendez committed Jun 12, 2024
1 parent 39d9c41 commit b360f96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DuckDuckGo/Application/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
#endif

private lazy var vpnRedditSessionWorkaround: VPNRedditSessionWorkaround = {
let ipcClient = TunnelControllerIPCClient()
let ipcClient = VPNControllerXPCClient.shared
let statusReporter = DefaultNetworkProtectionStatusReporter(
statusObserver: ipcClient.connectionStatusObserver,
serverInfoObserver: ipcClient.serverInfoObserver,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ import Common
final class VPNRedditSessionWorkaround {

private let accountManager: AccountManaging
private let ipcClient: TunnelControllerIPCClient
private let ipcClient: VPNControllerXPCClient
private let statusReporter: NetworkProtectionStatusReporter

init(accountManager: AccountManaging,
ipcClient: TunnelControllerIPCClient,
ipcClient: VPNControllerXPCClient = .shared,
statusReporter: NetworkProtectionStatusReporter) {
self.accountManager = accountManager
self.ipcClient = ipcClient
Expand Down

0 comments on commit b360f96

Please sign in to comment.