Lazier loading spinner

Reviewed By: sahrens

Differential Revision: D3413675

fbshipit-source-id: b517bb8175604973bd2f08b6f7b7d3442f0120fd
This commit is contained in:
Gerald Monaco 2016-06-13 18:01:24 -07:00 committed by Facebook Github Bot 7
parent 7c8b91442b
commit 9e9536c50b
1 changed files with 3 additions and 3 deletions

View File

@ -498,7 +498,7 @@ class WindowedListView extends React.Component {
this.setState({boundaryIndicatorHeight: layout.height});
}
}}>
{this.props.renderWindowBoundaryIndicator()}
{this.props.renderWindowBoundaryIndicator(showIndicator)}
</View>
);
}
@ -530,7 +530,7 @@ class WindowedListView extends React.Component {
<View
key="ind-footer"
style={showFooter ? styles.include : styles.remove}>
{this.props.renderFooter()}
{this.props.renderFooter(showFooter)}
</View>
);
}
@ -545,7 +545,7 @@ class WindowedListView extends React.Component {
this.setState({boundaryIndicatorHeight: layout.height});
}
}}>
{this.props.renderWindowBoundaryIndicator()}
{this.props.renderWindowBoundaryIndicator(!showFooter)}
</View>
);
}