diff --git a/IceCubesApp/App/Tabs/Settings/AddAccountsView.swift b/IceCubesApp/App/Tabs/Settings/AddAccountsView.swift index 9fadcd51..2d0a84ce 100644 --- a/IceCubesApp/App/Tabs/Settings/AddAccountsView.swift +++ b/IceCubesApp/App/Tabs/Settings/AddAccountsView.swift @@ -136,11 +136,12 @@ struct AddAccountView: View { instance = nil instanceFetchError = nil } - } catch _ as DecodingError { + } catch _ as ServerError { instance = nil instanceFetchError = "account.add.error.instance-not-supported" } catch { instance = nil + instanceFetchError = nil } } }