We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e045cb commit 7620a23Copy full SHA for 7620a23
Loop/Models/NightscoutService.swift
@@ -47,7 +47,7 @@ struct NightscoutService: ServiceAuthentication {
47
}
48
49
var siteURL: NSURL? {
50
- if let URLString = credentials[0].value {
+ if let URLString = credentials[0].value where !URLString.isEmpty {
51
return NSURL(string: URLString)
52
53
0 commit comments