Skip to content

Commit 9306d55

Browse files
rename to SignInWithGoogleButton
1 parent c58f821 commit 9306d55

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

FirebaseSwiftUI/FirebaseGoogleSwiftUI/Sources/Views/SignInWithAppleButton.swift renamed to FirebaseSwiftUI/FirebaseGoogleSwiftUI/Sources/Views/SignInWithGoogleButton.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 SignInWithAppleButton {
5+
public struct SignInWithGoogleButton {
66
@Environment(AuthService.self) private var authService
77
@State private var errorMessage = ""
88

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

22-
extension SignInWithAppleButton: View {
22+
extension SignInWithGoogleButton: 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-
SignInWithAppleButton()
105+
SignInWithGoogleButton()
106106
FacebookButtonView()
107107
PhoneAuthButtonView()
108108
}.environment(authService)

0 commit comments

Comments
 (0)