Skip to content

Commit a9ea643

Browse files
fix: apple, google and twitter error modals
1 parent fec75eb commit a9ea643

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

FirebaseSwiftUI/FirebaseAppleSwiftUI/Sources/Views/SignInWithAppleButton.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ extension SignInWithAppleButton: View {
2929
public var body: some View {
3030
Button(action: {
3131
Task {
32-
try await authService.signIn(provider)
32+
try? await authService.signIn(provider)
3333
}
3434
}) {
3535
HStack {
@@ -51,4 +51,3 @@ extension SignInWithAppleButton: View {
5151
.accessibilityIdentifier("sign-in-with-apple-button")
5252
}
5353
}
54-

FirebaseSwiftUI/FirebaseGoogleSwiftUI/Sources/Views/SignInWithGoogleButton.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ extension SignInWithGoogleButton: View {
4343
public var body: some View {
4444
GoogleSignInButton(viewModel: customViewModel) {
4545
Task {
46-
try await authService.signIn(googleProvider)
46+
try? await authService.signIn(googleProvider)
4747
}
4848
}
4949
.accessibilityIdentifier("sign-in-with-google-button")

FirebaseSwiftUI/FirebaseTwitterSwiftUI/Sources/Views/SignInWithTwitterButton.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ extension SignInWithTwitterButton: View {
2929
public var body: some View {
3030
Button(action: {
3131
Task {
32-
try await authService.signIn(provider)
32+
try? await authService.signIn(provider)
3333
}
3434
}) {
3535
HStack {

0 commit comments

Comments
 (0)