File tree Expand file tree Collapse file tree
packages/react-native-gesture-handler/apple Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,12 +43,6 @@ + (BOOL)shouldBeRecycled
4343{
4444 return NO ;
4545}
46-
47- - (void )traitCollectionDidChange : (UITraitCollection *)previousTraitCollection
48- {
49- [super traitCollectionDidChange: previousTraitCollection];
50- [_buttonView applyStartAnimationState ];
51- }
5246#endif
5347
5448// Needed because of this: https://github.com/facebook/react-native/pull/37274
@@ -299,6 +293,12 @@ - (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event
299293
300294 return [_buttonView hitTest: buttonPoint withEvent: event];
301295}
296+
297+ - (void )traitCollectionDidChange : (UITraitCollection *)previousTraitCollection
298+ {
299+ [super traitCollectionDidChange: previousTraitCollection];
300+ [_buttonView applyStartAnimationState ];
301+ }
302302#endif
303303
304304@end
You can’t perform that action at this time.
0 commit comments