Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Cunningham <[email protected]>
  • Loading branch information
digitaldan committed Sep 16, 2024
1 parent 85ef190 commit a6c4e61
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions openHAB/OpenHABWebViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ class OpenHABWebViewController: OpenHABViewController {
// Show the navigation bar on other view controllers
navigationController?.setNavigationBarHidden(false, animated: animated)
navigationController?.navigationBar.prefersLargeTitles = true
// OpenHABTracker.shared.multicastDelegate.remove(self)
trackerCancellables.removeAll()
}

Expand Down Expand Up @@ -369,7 +368,6 @@ extension OpenHABWebViewController: WKNavigationDelegate {
os_log("Challenge.protectionSpace.authtenticationMethod: %{PUBLIC}@", log: .wkwebview, type: .info, String(describing: challenge.protectionSpace.authenticationMethod))

if let url = modifyUrl(orig: URL(string: openHABTrackedRootUrl)), challenge.protectionSpace.host == url.host {
// openHABTracker takes care of triggering server trust prompts
if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust {
guard let serverTrust = challenge.protectionSpace.serverTrust else {
completionHandler(.performDefaultHandling, nil)
Expand Down

0 comments on commit a6c4e61

Please sign in to comment.