Temporary disable AndroidSwipeRefreshLayout
Summary: AndroidSwipeRefreshLayout is rendered in the "Marketplace Your Items" screen altough it is disabled. This diff just temporary implements the AndroidSwipeRefreshLayout component as a View (similar to the iOS counterpart RefreshControl). Reviewed By: shergin Differential Revision: D10524049 fbshipit-source-id: 5df38fbdf1339b3857138d82a7100ec7f15854b3
This commit is contained in:
parent
8329c10932
commit
cd5009f713
|
@ -72,7 +72,8 @@ static const std::string componentNameByReactViewName(std::string viewName) {
|
|||
// implementation of core components.
|
||||
if (viewName == "SinglelineTextInputView" ||
|
||||
viewName == "MultilineTextInputView" || viewName == "RefreshControl" ||
|
||||
viewName == "SafeAreaView" || viewName == "ScrollContentView" ||
|
||||
viewName == "AndroidSwipeRefreshLayout" || viewName == "SafeAreaView" ||
|
||||
viewName == "ScrollContentView" ||
|
||||
viewName == "AndroidHorizontalScrollContentView" // Android
|
||||
) {
|
||||
return "View";
|
||||
|
|
Loading…
Reference in New Issue