mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-22 08:20:59 +00:00
Fix crash on Twitter link #102
This commit is contained in:
parent
5fe928bd22
commit
5c7cc5803f
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ public class Client: ObservableObject, Equatable {
|
|||
}
|
||||
|
||||
public func hasConnection(with url: URL) -> Bool {
|
||||
guard let host = url.host(percentEncoded: false) else { return false }
|
||||
guard let host = url.host else { return false }
|
||||
return connections.contains(host)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue