From 76654e90ecfa14b81ea07a69207a47aa0a0611d5 Mon Sep 17 00:00:00 2001 From: Dan Cunningham Date: Sat, 14 Sep 2024 10:47:37 -0700 Subject: [PATCH] Small cleanup Signed-off-by: Dan Cunningham --- OpenHABCore/Sources/OpenHABCore/Util/NetworkTracker.swift | 1 - openHAB/OpenHABWebViewController.swift | 1 - 2 files changed, 2 deletions(-) diff --git a/OpenHABCore/Sources/OpenHABCore/Util/NetworkTracker.swift b/OpenHABCore/Sources/OpenHABCore/Util/NetworkTracker.swift index 9e8fa27f..fdde1b3d 100644 --- a/OpenHABCore/Sources/OpenHABCore/Util/NetworkTracker.swift +++ b/OpenHABCore/Sources/OpenHABCore/Util/NetworkTracker.swift @@ -40,7 +40,6 @@ public final class NetworkTracker: ObservableObject { public static let shared = NetworkTracker() @Published public private(set) var activeServer: ConnectionObject? @Published public private(set) var status: NetworkStatus = .notConnected - private var sseTask: URLSessionDataTask? private var monitor: NWPathMonitor private var monitorQueue = DispatchQueue.global(qos: .background) private var connectionObjects: [ConnectionObject] = [] diff --git a/openHAB/OpenHABWebViewController.swift b/openHAB/OpenHABWebViewController.swift index b9678e88..b239ddac 100644 --- a/openHAB/OpenHABWebViewController.swift +++ b/openHAB/OpenHABWebViewController.swift @@ -197,7 +197,6 @@ class OpenHABWebViewController: OpenHABViewController { func pageLoadError(message: String) { os_log("pageLoadError - webView.url %{PUBLIC}@ %{PUBLIC}@", log: .wkwebview, type: .info, String(describing: webView.url?.description), message) showActivityIndicator(show: false) - // webView.loadHTMLString("Page Not Found", baseURL: URL(string: "https://openHAB.org/")) showPopupMessage(seconds: 60, title: NSLocalizedString("error", comment: ""), message: message, theme: .error) currentTarget = "" }