manumaticx / circularprogress

Circular Progressbar Widget for Alloy
87 stars 19 forks source link

Changed 'showText' method to 'setShowText'. #24

Closed Jei closed 7 years ago

Jei commented 7 years ago

There is an issue with the method showText(): it has the same name as the property 'showText' of the widget object. Since there are getters and setters definitions for every property, declaring exports.showText = showText; at the end of the widget overrides the value of the property with the definition of the method showText(). This causes a crash on Android. Changing the name of the method solves the problem.

manumaticx commented 7 years ago

Thanks a lot! ✌️