From d032a2fe509a1613e00d214be6eb152d09062f53 Mon Sep 17 00:00:00 2001 From: Wojciech Lewicki Date: Fri, 23 Aug 2024 11:30:54 +0200 Subject: [PATCH] feat: add load method --- apple/RNGestureHandlerButtonComponentView.mm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apple/RNGestureHandlerButtonComponentView.mm b/apple/RNGestureHandlerButtonComponentView.mm index f9bf4ccf3b..ad9ff3e066 100644 --- a/apple/RNGestureHandlerButtonComponentView.mm +++ b/apple/RNGestureHandlerButtonComponentView.mm @@ -21,6 +21,12 @@ @implementation RNGestureHandlerButtonComponentView { RNGestureHandlerButton *_buttonView; } +// Needed because of this: https://github.com/facebook/react-native/pull/37274 ++ (void)load +{ + [super load]; +} + - (instancetype)initWithFrame:(CGRect)frame { if (self = [super initWithFrame:frame]) {