RN: Revert ListView Separator Change
Reviewed By: sahrens Differential Revision: D4519588 fbshipit-source-id: b339b2a547de0e6d1a687be3d0d0abe8b82f7107
This commit is contained in:
parent
6a8200df95
commit
d73f7d3d5e
|
@ -466,8 +466,7 @@ var ListView = React.createClass({
|
|||
totalIndex++;
|
||||
|
||||
if (this.props.renderSeparator &&
|
||||
rowIdx !== rowIDs.length - 1 &&
|
||||
sectionIdx === allRowIDs.length - 1) {
|
||||
(rowIdx !== rowIDs.length - 1 || sectionIdx === allRowIDs.length - 1)) {
|
||||
var adjacentRowHighlighted =
|
||||
this.state.highlightedRow.sectionID === sectionID && (
|
||||
this.state.highlightedRow.rowID === rowID ||
|
||||
|
|
Loading…
Reference in New Issue