Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions StikJIT/StikJITApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ class DNSChecker: ObservableObject {
}
} else {
DispatchQueue.main.async {
self.dnsError = "Not connected to WiFi."
print("Not connected to WiFi; skipping DNS check.")
self.dnsError = nil
print("Not connected to WiFi; continuing without DNS check.")
}
}
}
Expand Down Expand Up @@ -361,7 +361,7 @@ struct HeartbeatApp: App {
}
}
.onChange(of: dnsChecker.dnsError) { newError in
if let errorMsg = newError {
if let errorMsg = newError, !errorMsg.contains("Not connected to WiFi") {
alert_title = "Network Issue"
alert_string = errorMsg
show_alert = true
Expand Down