Skip to content

Commit bb0e4ff

Browse files
committed
Add title and description
1 parent 589ade5 commit bb0e4ff

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

FirebaseAuth/Tests/SampleSwift/AuthenticationExample/CustomViews/LoginViewSwiftUI.swift

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,27 @@ struct LoginViewSwiftUI: View {
2424
var body: some View {
2525
Group {
2626
VStack {
27+
Group {
28+
HStack {
29+
VStack {
30+
Text("Email/Password Auth")
31+
.font(.title)
32+
.bold()
33+
}
34+
Spacer()
35+
}
36+
HStack {
37+
Text(
38+
"Login or create an account using the Email/Password auth " +
39+
"provider.\n\nEnsure that the Email/Password provider is " +
40+
"enabled on the Firebase console for the given project."
41+
)
42+
.fixedSize(horizontal: false, vertical: true)
43+
Spacer()
44+
}
45+
}
46+
.padding(.vertical)
47+
2748
Spacer()
2849
TextField("Email", text: $email)
2950
.textFieldStyle(SymbolTextField(symbolName: "person.crop.circle"))

0 commit comments

Comments
 (0)