diff --git a/Mastodon/Scene/Onboarding/PickServer/MastodonPickServerViewModel+LoadIndexedServerState.swift b/Mastodon/Scene/Onboarding/PickServer/MastodonPickServerViewModel+LoadIndexedServerState.swift index 85c6ab289..b9cdcc7e4 100644 --- a/Mastodon/Scene/Onboarding/PickServer/MastodonPickServerViewModel+LoadIndexedServerState.swift +++ b/Mastodon/Scene/Onboarding/PickServer/MastodonPickServerViewModel+LoadIndexedServerState.swift @@ -47,7 +47,7 @@ extension MastodonPickServerViewModel.LoadIndexedServerState { switch completion { case .failure(let error): // TODO: handle error - break + stateMachine.enter(Fail.self) case .finished: break }