Skip to content

Commit

Permalink
[0.72][visionOS] Bring back missing ScrollView prop converters (#2093)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saadnajmi authored Mar 8, 2024
1 parent 6c80f6a commit 561ed1c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
#import "RCTShadowView.h"
#import "RCTUIManager.h"

#if TARGET_OS_IOS // [macOS] [visionOS]
#if !TARGET_OS_OSX // [macOS]
@implementation RCTConvert (UIScrollView)

#if TARGET_OS_IOS // [visionOS]
RCT_ENUM_CONVERTER(
UIScrollViewKeyboardDismissMode,
(@{
Expand All @@ -26,6 +27,7 @@ @implementation RCTConvert (UIScrollView)
}),
UIScrollViewKeyboardDismissModeNone,
integerValue)
#endif

RCT_ENUM_CONVERTER(
UIScrollViewIndicatorStyle,
Expand All @@ -49,7 +51,7 @@ @implementation RCTConvert (UIScrollView)
integerValue)

@end
#endif // [macOS] [visionOS]
#endif // [macOS]

@implementation RCTScrollViewManager

Expand Down

0 comments on commit 561ed1c

Please sign in to comment.