diff --git a/ReactCommon/fabric/attributedstring/conversions.h b/ReactCommon/fabric/attributedstring/conversions.h index fd531cef4e3..fb54e8f4198 100644 --- a/ReactCommon/fabric/attributedstring/conversions.h +++ b/ReactCommon/fabric/attributedstring/conversions.h @@ -381,8 +381,6 @@ inline folly::dynamic toDynamic( values("maximumNumberOfLines", paragraphAttributes.maximumNumberOfLines); values("ellipsizeMode", toString(paragraphAttributes.ellipsizeMode)); values("adjustsFontSizeToFit", paragraphAttributes.adjustsFontSizeToFit); - values("minimumFontSize", paragraphAttributes.minimumFontSize); - values("maximumFontSize", paragraphAttributes.maximumFontSize); return values; } diff --git a/ReactCommon/fabric/attributedstring/tests/ParagraphAttributesTest.cpp b/ReactCommon/fabric/attributedstring/tests/ParagraphAttributesTest.cpp index ca0d6a3b6a3..f2ba374ef13 100644 --- a/ReactCommon/fabric/attributedstring/tests/ParagraphAttributesTest.cpp +++ b/ReactCommon/fabric/attributedstring/tests/ParagraphAttributesTest.cpp @@ -21,8 +21,6 @@ TEST(ParagraphAttributesTest, testToDynamic) { paragraphAttributes.maximumNumberOfLines = 2; paragraphAttributes.adjustsFontSizeToFit = false; paragraphAttributes.ellipsizeMode = EllipsizeMode::Middle; - paragraphAttributes.minimumFontSize = 10; - paragraphAttributes.maximumFontSize = 20; auto result = toDynamic(paragraphAttributes); assert( @@ -33,8 +31,6 @@ TEST(ParagraphAttributesTest, testToDynamic) { paragraphAttributes.adjustsFontSizeToFit); assert( result["ellipsizeMode"] == toString(paragraphAttributes.ellipsizeMode)); - assert(result["minimumFontSize"] == paragraphAttributes.minimumFontSize); - assert(result["maximumFontSize"] == paragraphAttributes.maximumFontSize); } } // namespace react