Skip to content

Commit 3efed42

Browse files
TMisiukiewiczokwasniewski
authored andcommitted
update platform naming
1 parent 834cd16 commit 3efed42

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed

packages/react-native/Libraries/Components/TextInput/InputAccessoryView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class InputAccessoryView extends React.Component<Props> {
8989
// once the 'visionos' is implemented as a platform, we can remove this
9090
componentDidMount() {
9191
if (Platform.isVisionOS) {
92-
console.warn('InputAccessoryView is not available on VisionOS platform.');
92+
console.warn('InputAccessoryView is not available on visionOS platform.');
9393
}
9494
}
9595

packages/react-native/React/Views/RCTWrapperViewController.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ - (instancetype)initWithContentView:(UIView *)contentView
2929

3030
if ((self = [super initWithNibName:nil bundle:nil])) {
3131
_contentView = contentView;
32-
#if !TARGET_OS_VISION
33-
self.automaticallyAdjustsScrollViewInsets = NO;
34-
#endif
3532
}
3633
return self;
3734
}

packages/react-native/React/Views/ScrollView/RCTScrollViewManager.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,3 @@
2121
@interface RCTScrollViewManager : RCTViewManager
2222

2323
@end
24-
25-

packages/react-native/React/Views/ScrollView/RCTScrollViewManager.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
#import "RCTShadowView.h"
1313
#import "RCTUIManager.h"
1414

15-
#if !TARGET_OS_VISION
16-
1715
@implementation RCTConvert (UIScrollView)
1816

1917
#if !TARGET_OS_VISION

0 commit comments

Comments
 (0)