Fix ScrollView logspew
Summary: There was an inverted expression leading to logspew. Fix this. Reviewed By: TheSavior Differential Revision: D8758023 fbshipit-source-id: 7a83c68db6c95f2b5db6dcc7d7780fc66321b49e
This commit is contained in:
parent
604bcfa4a8
commit
b99609e9d2
|
@ -774,7 +774,7 @@ const ScrollView = createReactClass({
|
||||||
ScrollViewClass = RCTScrollView;
|
ScrollViewClass = RCTScrollView;
|
||||||
ScrollContentContainerViewClass = RCTScrollContentView;
|
ScrollContentContainerViewClass = RCTScrollContentView;
|
||||||
warning(
|
warning(
|
||||||
this.props.snapToInterval != null || !this.props.pagingEnabled,
|
this.props.snapToInterval == null || !this.props.pagingEnabled,
|
||||||
'snapToInterval is currently ignored when pagingEnabled is true.',
|
'snapToInterval is currently ignored when pagingEnabled is true.',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue