talalmajali / react-native-countdown-component

React Native CountDown
MIT License
271 stars 234 forks source link

Timer does't work properly when timeToShow is set #8

Closed eddietex closed 6 years ago

eddietex commented 6 years ago

When I set the timeToShow property, the timer show only the fields I included in the array, but the timer itself doesn't work. For instance, it set timeToShow to ['M', 'S'] and until to {600}, and the timer will countdown only 2 seconds instead. If I remove the timeToShow property and leave it as default, everything works fine.

talalmajali commented 6 years ago

@esdrasevt Fixed b363a47ed7990073dccc2d09345bd5af97f3eaa0