Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import FirebaseAuthUIComponents
import FirebaseCore
import SwiftUI

@MainActor
public struct EmailLinkView {
@Environment(AuthService.self) private var authService
@Environment(\.accountConflictHandler) private var accountConflictHandler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ import FirebaseAuthUIComponents
import FirebaseCore
import SwiftUI

@MainActor
Comment thread
megastep marked this conversation as resolved.
public struct PasswordRecoveryView {
@Environment(AuthService.self) private var authService
@Environment(\.reportError) private var reportError
@State private var email = ""
@State private var showSuccessSheet = false
@State private var sentEmail = ""
Expand All @@ -30,7 +32,7 @@ public struct PasswordRecoveryView {
sentEmail = email
showSuccessSheet = true
} catch {
// Error already displayed via modal by AuthService
reportError?(error)
Comment thread
russellwheatley marked this conversation as resolved.
Outdated
}
}
}
Expand Down