n4kz / react-native-indicators

Activity indicator collection for React Native
Other
899 stars 116 forks source link

'hasLoopSupport' works incorrectly #12

Closed parshukovanton closed 6 years ago

parshukovanton commented 6 years ago

Hey,

I found in your code (indicator/index.js):

const [major, minor] = RN.version.split('.'); const hasLoopSupport = !major && minor >= 45;

hasLoopSupport is always FALSE you have to fix it in the following way:

const hasLoopSupport = major == 0 && minor >= 45;

n4kz commented 6 years ago

Thanks for issue and sorry for delayed reply. Fix is available in 0.13.0.