File tree Expand file tree Collapse file tree 1 file changed +1
-29
lines changed
Examples/FriendlyFlix/app/FriendlyFlix/FriendlyFlix/Features/Authentication Expand file tree Collapse file tree 1 file changed +1
-29
lines changed Original file line number Diff line number Diff line change @@ -90,12 +90,7 @@ struct AuthenticationScreen: View {
9090extension AuthenticationScreen {
9191 var body : some View {
9292 VStack {
93- // Image("login")
94- // .resizable()
95- // .aspectRatio(contentMode: .fit)
96- // .frame(minHeight: 300, maxHeight: 400)
97- // Text(viewModel.flow == .login ? "Log in" : "Sign up")
98- Text ( " Welcome " )
93+ Text ( " Welcome to FriendlyFlix " )
9994 . font ( . largeTitle)
10095 . fontWeight ( . bold)
10196 . frame ( maxWidth: . infinity, alignment: . leading)
@@ -170,29 +165,6 @@ extension AuthenticationScreen {
170165 . frame ( maxWidth: . infinity)
171166 . buttonStyle ( . borderedProminent)
172167
173- HStack {
174- VStack { Divider ( ) }
175- Text ( " or " )
176- VStack { Divider ( ) }
177- }
178-
179- if flow == . login {
180- SignInWithAppleButton ( . signIn) { request in
181- } onCompletion: { result in
182- }
183- . signInWithAppleButtonStyle ( colorScheme == . light ? . black : . white)
184- . frame ( maxWidth: . infinity, minHeight: 50 , maxHeight: 50 )
185- . cornerRadius ( 8 )
186- }
187- else {
188- SignInWithAppleButton ( . signUp) { request in
189- } onCompletion: { result in
190- }
191- . signInWithAppleButtonStyle ( colorScheme == . light ? . black : . white)
192- . frame ( maxWidth: . infinity, minHeight: 50 , maxHeight: 50 )
193- . cornerRadius ( 8 )
194- }
195-
196168 HStack {
197169 Text ( flow == . login ? " Don't have an account yet? " : " Already have an account? " )
198170 Button ( action: {
You can’t perform that action at this time.
0 commit comments