Skip to content

Commit e1cd715

Browse files
t0maborokligarski
andcommitted
Apply suggestions from code review
Co-authored-by: Krzysztof Ligarski <[email protected]>
1 parent 2eac5a6 commit e1cd715

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ios/RNSScreen.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ - (void)invalidateImpl
949949
});
950950
}
951951

952-
#ifndef RCT_NEW_ARCH_ENABLED
952+
#if !RCT_NEW_ARCH_ENABLED
953953
- (void)invalidate
954954
{
955955
[self invalidateImpl];

ios/RNSScreenStack.mm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,11 +1417,11 @@ - (void)mountingTransactionDidMount:(const facebook::react::MountingTransaction
14171417
return;
14181418
}
14191419
for (RNSScreenView *screenRef : strongSelf->_toBeDeletedScreens) {
1420-
#ifdef RCT_NEW_ARCH_ENABLED
1420+
#if RCT_NEW_ARCH_ENABLED
14211421
[screenRef invalidateImpl];
1422-
#else
1422+
#else // RCT_NEW_ARCH_ENABLED
14231423
[screenRef invalidate];
1424-
#endif
1424+
#endif // RCT_NEW_ARCH_ENABLED
14251425
}
14261426
strongSelf->_toBeDeletedScreens.clear();
14271427
});

0 commit comments

Comments
 (0)