From 55724bcc6266ded83a4d64a5d01517544007c5bb Mon Sep 17 00:00:00 2001 From: Kevin Gozali Date: Tue, 22 May 2018 01:19:37 -0700 Subject: [PATCH] make fallback to temporarily Summary: support isn't there, so fallback to instead of crashing. Reviewed By: shergin Differential Revision: D8086403 fbshipit-source-id: 16d7fd8023f93cbe25f2bc0f7d0a03e32cd402ce --- ReactCommon/fabric/uimanager/FabricUIManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ReactCommon/fabric/uimanager/FabricUIManager.cpp b/ReactCommon/fabric/uimanager/FabricUIManager.cpp index 47629e427..b725b9739 100644 --- a/ReactCommon/fabric/uimanager/FabricUIManager.cpp +++ b/ReactCommon/fabric/uimanager/FabricUIManager.cpp @@ -61,8 +61,9 @@ static const std::string componentNameByReactViewName(std::string viewName) { } // We need this temporarly for testing purposes until we have proper - // implementation of component. + // implementation of core components: , . if ( + viewName == "ImageView" || viewName == "ScrollContentView" ) { return "View";