Skip to content

Commit

Permalink
remove sending top inset, paper
Browse files Browse the repository at this point in the history
  • Loading branch information
coado committed Nov 28, 2024
1 parent 9799d47 commit f7bfbd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/RNSScreenStackHeaderConfig.mm
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ - (void)updateHeaderConfigState:(CGSize)size
#else
- (void)updateHeaderConfigState:(NSDirectionalEdgeInsets)insets
{
if (_lastHeaderInsets.leading != insets.leading || _lastHeaderInsets.trailing != insets.trailing || _lastHeaderInsets.top != insets.top) {
if (_lastHeaderInsets.leading != insets.leading || _lastHeaderInsets.trailing != insets.trailing) {
[_bridge.uiManager setLocalData:[[RNSHeaderConfigInsetsPayload alloc] initWithInsets:insets] forView:self];
_lastHeaderInsets = std::move(insets);
}
Expand Down

0 comments on commit f7bfbd7

Please sign in to comment.