Skip to content

Commit

Permalink
Restore initial updateBounds implementation on Fabric
Browse files Browse the repository at this point in the history
  • Loading branch information
kkafar committed Aug 22, 2023
1 parent 6e97b33 commit d1fc618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/RNSScreen.mm
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ - (void)updateBounds
#ifdef RCT_NEW_ARCH_ENABLED
if (_state != nullptr) {
auto newState = react::RNSScreenState{RCTSizeFromCGSize(self.bounds.size)};
// _state->updateState(std::move(newState));
_state->updateState(std::move(newState));
UINavigationController *navctr = _controller.navigationController;
[navctr.view setNeedsLayout];
}
Expand Down

0 comments on commit d1fc618

Please sign in to comment.