This commit is contained in:
2026-02-18 21:54:21 +01:00
parent 165b1b9c67
commit ed180500a6

View File

@@ -69,7 +69,14 @@ struct LoginView: View {
Task {
let authService = AuthService.shared
await authService.login(presentationAnchor: nil)
do {
try await authService.login(presentationAnchor: nil)
} catch {
await MainActor.run {
isLoading = false
errorMessage = error.localizedDescription
}
}
}
}