Skip to content

Commit c1a4ad3

Browse files
Apply suggestions from code review
Co-authored-by: Jacob Parker <[email protected]>
1 parent ca32bcb commit c1a4ad3

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

ios/RNCSafeAreaProvider.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ - (void)invalidateSafeAreaInsets
8484
CGRectEqualToRect(frame, _currentFrame)) {
8585
return;
8686
}
87-
8887
_initialInsetsSent = YES;
8988
_currentSafeAreaInsets = safeAreaInsets;
9089
_currentFrame = frame;

src/SafeAreaContext.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ export function SafeAreaProvider({
5858
nativeEvent: { frame: nextFrame, insets: nextInsets },
5959
} = event;
6060

61-
console.log('onInsetsChange', nextInsets);
62-
6361
setFrame((curFrame) => {
6462
if (
6563
// Backwards compat with old native code that won't send frame.

0 commit comments

Comments
 (0)