Skip to content

Commit 69a9c61

Browse files
chore: dismiss modal after sign-in/failure
1 parent 4e1cec0 commit 69a9c61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

FirebaseSwiftUI/FirebasePhoneAuthSwiftUI/Sources/Views/PhoneAuthView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ extension PhoneAuthView: View {
7676
errorMessage = authService.string.localizedErrorMessage(for: error)
7777
}
7878
showVerificationCodeInput = false
79+
authService.dismissModal()
7980
}
8081
}) {
8182
Text(authService.string.verifyPhoneNumberAndSignInLabel)

0 commit comments

Comments
 (0)