Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class ViewController: UIViewController, ASAuthorizationControllerDelegate, ASAut

/// Set up the ASAuthorizationAppleIDButton button which should be used to let the user know they will Sign in with Apple
private func setupButton() {
signInWithAppleButton = ASAuthorizationAppleIDButton(type: .signUp, style: traitCollection.userInterfaceStyle == .dark ? .whiteOutline : .black)
signInWithAppleButton = ASAuthorizationAppleIDButton(type: .signIn, style: traitCollection.userInterfaceStyle == .dark ? .whiteOutline : .black)
signInWithAppleButton.cornerRadius = 10
signInWithAppleButton.addTarget(self, action: #selector(signInButtonTapped), for: .touchUpInside)
signInWithAppleButton.translatesAutoresizingMaskIntoConstraints = false
Expand Down