Fabric: Debug Pretty-printing is now debug only feature

Summary: That should save us some app size kilobytes.

Reviewed By: mdvacca

Differential Revision: D10081499

fbshipit-source-id: 2b950768c609b412f9be332c22b6b1e96657e5ea
This commit is contained in:
Valentin Shergin
2018-09-28 10:24:38 -07:00
committed by Facebook Github Bot
parent 02ad56f541
commit e3b61f53bd
39 changed files with 102 additions and 31 deletions

View File

@@ -16,6 +16,7 @@ namespace react {
#pragma mark - DebugStringConvertible
#if RN_DEBUG_STRING_CONVERTIBLE
SharedDebugStringConvertibleList ParagraphAttributes::getDebugProps() const {
return {
debugStringConvertibleItem("maximumNumberOfLines", maximumNumberOfLines),
@@ -25,6 +26,7 @@ SharedDebugStringConvertibleList ParagraphAttributes::getDebugProps() const {
debugStringConvertibleItem("maximumFontSize", maximumFontSize)
};
}
#endif
} // namespace react
} // namespace facebook