@@ -82,11 +82,10 @@ - (void)stackScreenChangedActivityMode:(nonnull RNSStackScreenComponentView *)st
8282
8383- (void )mountChildComponentView : (UIView<RCTComponentViewProtocol> *)childComponentView index : (NSInteger )index
8484{
85- RCTAssert (
86- [childComponentView isKindOfClass: RNSStackScreenComponentView.class ],
87- @" [RNScreens] Attempt to mount child of unsupported type: %@ , expected %@ " ,
88- childComponentView.class ,
89- RNSStackScreenComponentView.class );
85+ RCTAssert ([childComponentView isKindOfClass: RNSStackScreenComponentView.class ],
86+ @" [RNScreens] Attempt to mount child of unsupported type: %@ , expected %@ " ,
87+ childComponentView.class ,
88+ RNSStackScreenComponentView.class );
9089
9190 auto *childScreen = static_cast <RNSStackScreenComponentView *>(childComponentView);
9291 childScreen.stackHost = self;
@@ -103,11 +102,10 @@ - (void)addPushOperationIfNeeded:(nonnull RNSStackScreenComponentView *)stackScr
103102
104103- (void )unmountChildComponentView : (UIView<RCTComponentViewProtocol> *)childComponentView index : (NSInteger )index
105104{
106- RCTAssert (
107- [childComponentView isKindOfClass: RNSStackScreenComponentView.class ],
108- @" [RNScreens] Attempt to unmount child of unsupported type: %@ , expected %@ " ,
109- childComponentView.class ,
110- RNSStackScreenComponentView.class );
105+ RCTAssert ([childComponentView isKindOfClass: RNSStackScreenComponentView.class ],
106+ @" [RNScreens] Attempt to unmount child of unsupported type: %@ , expected %@ " ,
107+ childComponentView.class ,
108+ RNSStackScreenComponentView.class );
111109
112110 auto *childScreen = static_cast <RNSStackScreenComponentView *>(childComponentView);
113111 [_renderedScreens removeObject: childScreen];
@@ -121,9 +119,8 @@ - (void)addPopOperationIfNeeded:(nonnull RNSStackScreenComponentView *)stackScre
121119 // This shouldn't happen in typical scenarios but it can happen with fast-refresh.
122120 [_stackOperationCoordinator addPopOperation: stackScreen];
123121 } else {
124- RNSLog (
125- @" [RNScreens] ignoring pop operation of %s , already not attached or natively dismissed" ,
126- [stackScreen.screenKey cStringUsingEncoding: NSUTF8StringEncoding]);
122+ RNSLog (@" [RNScreens] ignoring pop operation of %s , already not attached or natively dismissed" ,
123+ [stackScreen.screenKey cStringUsingEncoding: NSUTF8StringEncoding]);
127124 }
128125}
129126
@@ -141,12 +138,6 @@ + (BOOL)shouldBeRecycled
141138
142139#pragma mark - RCTMountingTransactionObserving
143140
144- - (void )mountingTransactionWillMount : (const facebook::react::MountingTransaction &)transaction
145- withSurfaceTelemetry : (const facebook::react::SurfaceTelemetry &)surfaceTelemetry
146- {
147- // noop
148- }
149-
150141- (void )mountingTransactionDidMount : (const facebook::react::MountingTransaction &)transaction
151142 withSurfaceTelemetry : (const facebook::react::SurfaceTelemetry &)surfaceTelemetry
152143{
0 commit comments