Skip to content

Commit c03321b

Browse files
fix: flicks signed in view because there is "authenticating" state
1 parent 48d8076 commit c03321b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/AuthPickerView.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ extension AuthPickerView: View {
132132
var authPickerViewInternal: some View {
133133
@Bindable var authService = authService
134134
VStack {
135-
if authService.authenticationState == .unauthenticated {
135+
if authService.authenticationState == .authenticated {
136+
SignedInView()
137+
} else {
136138
authMethodPicker
137139
.safeAreaPadding()
138-
} else {
139-
SignedInView()
140140
}
141141
}
142142
.errorAlert(

0 commit comments

Comments
 (0)