From d1fc618a8612b32dbd635bfb3d85d1dd4e93a0cb Mon Sep 17 00:00:00 2001 From: Kacper Kafara Date: Tue, 22 Aug 2023 11:13:30 +0200 Subject: [PATCH] Restore initial `updateBounds` implementation on Fabric --- ios/RNSScreen.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/RNSScreen.mm b/ios/RNSScreen.mm index 936ef42d14..617968cf39 100644 --- a/ios/RNSScreen.mm +++ b/ios/RNSScreen.mm @@ -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]; }