diff --git a/ios/ApplePayButtonComponentView.mm b/ios/ApplePayButtonComponentView.mm index 473bc15..aa12464 100644 --- a/ios/ApplePayButtonComponentView.mm +++ b/ios/ApplePayButtonComponentView.mm @@ -37,10 +37,10 @@ static PKPaymentButtonStyle PKButtonStyleFromString(const std::string &str) { // MARK: - Fabric ComponentView -@interface ApplePayButtonComponentView : RCTViewComponentView +@interface BoltApplePayButtonComponentView : RCTViewComponentView @end -@implementation ApplePayButtonComponentView { +@implementation BoltApplePayButtonComponentView { PKPaymentButton *_paymentButton; NSArray *_buttonConstraints; std::string _currentButtonType; @@ -119,5 +119,5 @@ - (void)updateProps:(Props::Shared const &)props oldProps:(Props::Shared const & Class BoltApplePayButtonCls(void) { - return ApplePayButtonComponentView.class; + return BoltApplePayButtonComponentView.class; } diff --git a/package.json b/package.json index 098ca2d..4a595db 100644 --- a/package.json +++ b/package.json @@ -112,7 +112,7 @@ }, "ios": { "componentProvider": { - "BoltApplePayButton": "ApplePayButtonComponentView" + "BoltApplePayButton": "BoltApplePayButtonComponentView" } } },