Skip to content

Commit

Permalink
Disable NetP errors temporarily (#2102)
Browse files Browse the repository at this point in the history
  • Loading branch information
graeme authored Oct 18, 2023
1 parent 8f6107d commit d719a7b
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions DuckDuckGo/NetworkProtectionStatusViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,6 @@ final class NetworkProtectionStatusViewModel: ObservableObject {
setUpStatusMessagePublishers()
setUpDisableTogglePublisher()
setUpServerInfoPublishers()

errorObserver.publisher
.map {
$0.map { _ in
ErrorItem(
title: UserText.netPStatusViewErrorConnectionFailedTitle,
message: UserText.netPStatusViewErrorConnectionFailedMessage
)
}
}
.receive(on: DispatchQueue.main)
.assign(to: \.error, onWeaklyHeld: self)
.store(in: &cancellables)
}

private func setUpIsConnectedStatePublishers() {
Expand Down

0 comments on commit d719a7b

Please sign in to comment.