Lazier loading spinner
Reviewed By: sahrens Differential Revision: D3413675 fbshipit-source-id: b517bb8175604973bd2f08b6f7b7d3442f0120fd
This commit is contained in:
parent
7c8b91442b
commit
9e9536c50b
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue