Skip to content

Commit 75f1387

Browse files
committed
🔥 Remove Sign in with Apple for now
Signed-off-by: Peter Friese <[email protected]>
1 parent 8e49054 commit 75f1387

File tree

1 file changed

+1
-29
lines changed

1 file changed

+1
-29
lines changed

Examples/FriendlyFlix/app/FriendlyFlix/FriendlyFlix/Features/Authentication/AuthenticationScreen.swift

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,7 @@ struct AuthenticationScreen: View {
9090
extension 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: {

0 commit comments

Comments
 (0)