From 3ba3d43851a41434f40fbdcb2d7a1148e64b3f65 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 4e40287766..ba79de8773 100644 --- a/ios/RNSScreen.mm +++ b/ios/RNSScreen.mm @@ -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]; }