Skip to content

Commit

Permalink
Temporary disable AndroidSwipeRefreshLayout
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mdvacca authored and facebook-github-bot committed Nov 9, 2018
1 parent 8329c10 commit cd5009f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ReactCommon/fabric/uimanager/ComponentDescriptorRegistry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit cd5009f

Please sign in to comment.