File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
FirebaseAuth/Tests/SampleSwift/AuthenticationExample/CustomViews Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -62,13 +62,6 @@ struct LoginView: View {
6262 backgroundColor: . orange,
6363 action: login
6464 )
65- . alert ( " Enter one time passcode. " , isPresented: $showingAlert) {
66- TextField ( " Verification Code " , text: $onetimePasscode)
67- . textInputAutocapitalization ( . never)
68- Button ( " Cancel " , role: . cancel) { }
69- Button ( " Submit " , action: submitOnetimePasscode)
70- }
71-
7265 LoginViewButton (
7366 text: " Create Account " ,
7467 accentColor: . orange,
@@ -81,6 +74,12 @@ struct LoginView: View {
8174 Spacer ( )
8275 }
8376 . padding ( )
77+ . alert ( " Enter one time passcode. " , isPresented: $showingAlert) {
78+ TextField ( " Verification Code " , text: $onetimePasscode)
79+ . textInputAutocapitalization ( . never)
80+ Button ( " Cancel " , role: . cancel) { }
81+ Button ( " Submit " , action: submitOnetimePasscode)
82+ }
8483 }
8584
8685 private func login( ) {
You can’t perform that action at this time.
0 commit comments