mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-30 18:24:25 +08:00
RN: Revert ListView Separator Change
Reviewed By: sahrens Differential Revision: D4519588 fbshipit-source-id: b339b2a547de0e6d1a687be3d0d0abe8b82f7107
This commit is contained in:
committed by
Facebook Github Bot
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 ||
|
||||
|
||||
Reference in New Issue
Block a user