Skip to content

Commit cbed44c

Browse files
TMisiukiewiczokwasniewski
authored andcommitted
update platform naming
1 parent 4880f07 commit cbed44c

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

packages/react-native/Libraries/PushNotificationIOS/RCTPushNotificationManager.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ @implementation RCTConvert (UIBackgroundFetchResult)
9696

9797
@end
9898
#else
99-
@interface RCTPushNotificationManager ()
99+
@interface RCTPushNotificationManager () <NativePushNotificationManagerIOSSpec>
100100
@end
101101
#endif // TARGET_OS_UIKITFORMAC
102102

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/rn-tester/RNTester/AppDelegate.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#import <ReactCommon/RCTSampleTurboModule.h>
1313
#import <ReactCommon/SampleTurboCxxModule.h>
1414

15-
#if !TARGET_OS_TV && !TARGET_OS_UIKITFORMAC && !TARGET_OS_VISION
15+
#if !TARGET_OS_TV && !TARGET_OS_UIKITFORMAC
1616
#import <React/RCTPushNotificationManager.h>
1717
#endif
1818

@@ -92,7 +92,7 @@ - (void)loadSourceForBridge:(RCTBridge *)bridge
9292
return nullptr;
9393
}
9494

95-
#if !TARGET_OS_TV && !TARGET_OS_UIKITFORMAC && !TARGET_OS_VISION
95+
#if !TARGET_OS_TV && !TARGET_OS_UIKITFORMAC
9696

9797
// Required for the remoteNotificationsRegistered event.
9898
- (void)application:(__unused UIApplication *)application

0 commit comments

Comments
 (0)