File tree Expand file tree Collapse file tree 1 file changed +8
-18
lines changed
FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views Expand file tree Collapse file tree 1 file changed +8
-18
lines changed Original file line number Diff line number Diff line change @@ -143,25 +143,15 @@ extension SignedInView: View {
143143 )
144144 . presentationDetents ( [ . medium] )
145145 }
146- . sheet ( isPresented: $showEmailVerificationSent) {
147- VStack ( spacing: 24 ) {
148- Text ( authService. string. verifyEmailSheetMessage)
149- . font ( . headline)
150- Text ( " Please tap on the link in your email to complete verification. " )
151- Button {
152- showEmailVerificationSent = false
153- } label: {
154- Text ( authService. string. okButtonLabel)
155- . padding ( . vertical, 8 )
156- . frame ( maxWidth: . infinity)
157- }
158- . buttonStyle ( . borderedProminent)
159- . padding ( [ . top, . bottom] , 8 )
160- . frame ( maxWidth: . infinity)
146+ . alert (
147+ authService. string. verifyEmailSheetMessage,
148+ isPresented: $showEmailVerificationSent
149+ ) {
150+ Button ( authService. string. okButtonLabel) {
151+ showEmailVerificationSent = false
161152 }
162- . frame ( maxWidth: . infinity, maxHeight: . infinity, alignment: . top)
163- . safeAreaPadding ( )
164- . presentationDetents ( [ . medium] )
153+ } message: {
154+ Text ( " Please tap on the link in your email to complete verification. " )
165155 }
166156 }
167157}
You can’t perform that action at this time.
0 commit comments