From d427fcfbed2eaca3fd1209c800a456f9c7b2983d Mon Sep 17 00:00:00 2001 From: Dominic Go Date: Thu, 12 Dec 2024 10:11:19 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20Fix:=20`RNIContentSizingMode.upd?= =?UTF-8?q?ateReactSizeIfNeeded`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ios/Temp/RNIContentViewController/RNIContentSizingMode.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/Temp/RNIContentViewController/RNIContentSizingMode.swift b/ios/Temp/RNIContentViewController/RNIContentSizingMode.swift index b4eccd6..fbd110a 100644 --- a/ios/Temp/RNIContentViewController/RNIContentSizingMode.swift +++ b/ios/Temp/RNIContentViewController/RNIContentSizingMode.swift @@ -243,12 +243,12 @@ public enum RNIContentSizingMode: String { }; shadowView.minWidth = .init( - value: Float(newWidth), + value: Float(newReactWidth), unit: .point ); shadowView.maxWidth = .init( - value: Float(newWidth), + value: Float(newReactWidth), unit: .point );