From 9e9536c50beada73aa4b12f0c3f58a8c73b5d9a6 Mon Sep 17 00:00:00 2001 From: Gerald Monaco Date: Mon, 13 Jun 2016 18:01:24 -0700 Subject: [PATCH] Lazier loading spinner Reviewed By: sahrens Differential Revision: D3413675 fbshipit-source-id: b517bb8175604973bd2f08b6f7b7d3442f0120fd --- Libraries/Experimental/WindowedListView.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Libraries/Experimental/WindowedListView.js b/Libraries/Experimental/WindowedListView.js index 911b0507d..bec56ecbe 100644 --- a/Libraries/Experimental/WindowedListView.js +++ b/Libraries/Experimental/WindowedListView.js @@ -498,7 +498,7 @@ class WindowedListView extends React.Component { this.setState({boundaryIndicatorHeight: layout.height}); } }}> - {this.props.renderWindowBoundaryIndicator()} + {this.props.renderWindowBoundaryIndicator(showIndicator)} ); } @@ -530,7 +530,7 @@ class WindowedListView extends React.Component { - {this.props.renderFooter()} + {this.props.renderFooter(showFooter)} ); } @@ -545,7 +545,7 @@ class WindowedListView extends React.Component { this.setState({boundaryIndicatorHeight: layout.height}); } }}> - {this.props.renderWindowBoundaryIndicator()} + {this.props.renderWindowBoundaryIndicator(!showFooter)} ); }