Fix cancelling connection and signin

This commit is contained in:
Ethan Pippin 2021-10-16 09:54:57 -06:00
parent cdec38be7a
commit 9ac86a478a
2 changed files with 4 additions and 0 deletions

View File

@ -69,5 +69,7 @@ final class ConnectToServerViewModel: ViewModel {
for cancellable in cancellables {
cancellable.cancel()
}
self.isLoading = false
}
}

View File

@ -48,5 +48,7 @@ final class UserSignInViewModel: ViewModel {
for cancellable in cancellables {
cancellable.cancel()
}
self.isLoading = false
}
}