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 Nov 14, 2023
1 parent 9a8eb64 commit 3ba3d43
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 @@ -110,7 +110,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 3ba3d43

Please sign in to comment.