n4kz / react-native-indicators

Activity indicator collection for React Native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'hasLoopSupport' works incorrectly

parshukovanton opened this issue · comments

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;

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