Skip to content

Commit

Permalink
Small cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Cunningham <[email protected]>
  • Loading branch information
digitaldan committed Sep 14, 2024
1 parent b2f81a3 commit 76654e9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion OpenHABCore/Sources/OpenHABCore/Util/NetworkTracker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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] = []
Expand Down
1 change: 0 additions & 1 deletion openHAB/OpenHABWebViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
}
Expand Down

0 comments on commit 76654e9

Please sign in to comment.