Skip to content

Commit

Permalink
fix bug #7
Browse files Browse the repository at this point in the history
  • Loading branch information
2534290808 committed Jul 5, 2018
1 parent 32d28d0 commit 4f396b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions SmartRefreshControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ import {
requireNativeComponent,
findNodeHandle,
UIManager,
NativeModules
NativeModules,
Platform,
} from 'react-native';
import ClassicsHeader from "./ClassicsHeader";
import {ViewPropTypes,PropTypes} from './Util'
import DefaultHeader from "./DefaultHeader";

const SPModule = NativeModules.SpinnerStyleModule;
const SPModule =Platform.OS === 'android' ? NativeModules.SpinnerStyleModule : {};

const SmartRefreshLayout = requireNativeComponent('SmartRefreshLayout', SmartRefreshControl);

Expand Down

0 comments on commit 4f396b1

Please sign in to comment.