mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-28 08:07:25 +08:00
Switch to Platform.isTV to pass Android Flow
Reviewed By: sahrens Differential Revision: D8345911 fbshipit-source-id: 9af7a25127e7c35844a6c59b267a77cf8adba535
This commit is contained in:
committed by
Facebook Github Bot
parent
f573ea8a66
commit
160bf731e5
@@ -1041,7 +1041,7 @@ const ScrollView = createReactClass({
|
||||
return (
|
||||
// $FlowFixMe Invalid prop usage
|
||||
<ScrollViewClass {...props} ref={this._setScrollViewRef}>
|
||||
{Platform.isTVOS ? null : refreshControl}
|
||||
{Platform.isTV ? null : refreshControl}
|
||||
{contentContainer}
|
||||
</ScrollViewClass>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user