Skip to content

Commit e037853

Browse files
update to SignInWithAppleButton
1 parent c2ccc08 commit e037853

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

FirebaseSwiftUI/FirebaseGoogleSwiftUI/Sources/Views/GoogleButtonView.swift renamed to FirebaseSwiftUI/FirebaseGoogleSwiftUI/Sources/Views/SignInWithAppleButton.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import FirebaseAuthSwiftUI
22
import SwiftUI
33

44
@MainActor
5-
public struct GoogleButtonView {
5+
public struct SignInWithAppleButton {
66
@Environment(AuthService.self) private var authService
77
@State private var errorMessage = ""
88

@@ -19,7 +19,7 @@ public struct GoogleButtonView {
1919
}
2020
}
2121

22-
extension GoogleButtonView: View {
22+
extension SignInWithAppleButton: View {
2323
public var body: some View {
2424
Button(action: {
2525
Task {

samples/swiftui/FirebaseSwiftUIExample/FirebaseSwiftUIExample/FirebaseSwiftUIExampleApp.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ struct ContentView: View {
102102

103103
var body: some View {
104104
AuthPickerView {
105-
GoogleButtonView()
105+
SignInWithAppleButton()
106106
FacebookButtonView()
107107
PhoneAuthButtonView()
108108
}.environment(authService)

0 commit comments

Comments
 (0)