This repository has been archived by the owner on Mar 11, 2022. It is now read-only.
Seaglass crashes when "Homeserver" UserDefault is set to an invalid URL #118
Labels
bug
Something isn't working
@Peter2121 solved it by changing
let homeserver = URL(string: defaults.string(forKey: "Homeserver") ?? "https://matrix.org")!.host ?? "matrix.org"
to
let homeserver = URL(string: defaults.string(forKey: "Homeserver") ?? "https://matrix.org")?.host ?? "matrix.org"
in
LoginViewController.swift
The text was updated successfully, but these errors were encountered: