mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Merge pull request #3550 from woocommerce/PCP-3957-when-apple-pay-is-enabled-empty-space-for-apple-pay-button-is-showing-on-all-pages
When Apple Pay is enabled empty space for Apple Pay button is showing on all pages (3957)
This commit is contained in:
commit
5e1148bd0d
1 changed files with 2 additions and 1 deletions
|
@ -105,7 +105,8 @@ registerExpressPaymentMethod( {
|
|||
content: <ApplePayComponent isEditing={ false } />,
|
||||
edit: <ApplePayComponent isEditing={ true } />,
|
||||
ariaLabel: buttonData.title,
|
||||
canMakePayment: () => buttonData.enabled,
|
||||
canMakePayment: () =>
|
||||
buttonData.enabled && window.ApplePaySession?.canMakePayments(),
|
||||
supports: {
|
||||
features,
|
||||
style: [ 'height', 'borderRadius' ],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue