Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 6c5c6fb

Browse files
committed
Use Apple's 'Continue with Apple' button.
1 parent 766ecc2 commit 6c5c6fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPressAuthenticator/Extensions/WPStyleGuide+Login.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ extension WPStyleGuide {
124124
class func appleLoginButton() -> UIControl {
125125
#if XCODE11
126126
if #available(iOS 13.0, *) {
127-
let appleButton = ASAuthorizationAppleIDButton()
127+
let appleButton = ASAuthorizationAppleIDButton(authorizationButtonType: .continue, authorizationButtonStyle: .black)
128128
appleButton.translatesAutoresizingMaskIntoConstraints = false
129129
appleButton.heightAnchor.constraint(greaterThanOrEqualToConstant: Constants.buttonMinHeight).isActive = true
130130
return appleButton

0 commit comments

Comments
 (0)