Fix AndroidTextInput C++ debugging code

Summary:
Fixes debug output for AndroidTextInput. Failed to compile (in special "Fabric debug mode") before.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D19653093

fbshipit-source-id: 887916892a78a4e40bb4f6154f474add9672edfb
This commit is contained in:
Joshua Gross authored and Facebook Github Bot committed 2020-01-30 17:39:35 -08:00
1 parent fdd133e214
commit 74026041ba
2 files changed
+5 -1

No files matched your search

@@ -283,7 +283,7 @@ folly::dynamic AndroidTextInputProps::getDynamic() const {
#if RN_DEBUG_STRING_CONVERTIBLE
// TODO: codegen these
SharedDebugStringConvertibleList TextProps::getDebugProps() const {
SharedDebugStringConvertibleList AndroidTextInputProps::getDebugProps() const {
return {};
}
#endif
@@ -158,6 +158,10 @@ class AndroidTextInputProps final : public ViewProps, public BaseTextProps {
* paragraph.
*/
ParagraphAttributes const paragraphAttributes{};
#if RN_DEBUG_STRING_CONVERTIBLE
SharedDebugStringConvertibleList getDebugProps() const;
#endif
};
} // namespace react