Skip to content

Commit

Permalink
Update RNCSafeAreaProvider.m
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobp100 committed Jul 10, 2023
1 parent b683c52 commit 3c87e44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ios/RNCSafeAreaProvider.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ @implementation RNCSafeAreaProvider {
- (instancetype)init
{
if ((self = [super init])) {
#if !TARGET_OS_TV
[NSNotificationCenter.defaultCenter addObserver:self
selector:@selector(invalidateSafeAreaInsets)
name:UIKeyboardDidShowNotification
Expand All @@ -21,6 +22,7 @@ - (instancetype)init
selector:@selector(invalidateSafeAreaInsets)
name:UIKeyboardDidHideNotification
object:nil];
#endif
}
return self;
}
Expand Down

0 comments on commit 3c87e44

Please sign in to comment.