mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 11:34:23 +00:00
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;
|
||||
ScrollContentContainerViewClass = RCTScrollContentView;
|
||||
warning(
|
||||
this.props.snapToInterval != null || !this.props.pagingEnabled,
|
||||
this.props.snapToInterval == null || !this.props.pagingEnabled,
|
||||
'snapToInterval is currently ignored when pagingEnabled is true.',
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user