triniwiz / nativescript-star-ratings

NativeScript star ratings UI component plugin.
Apache License 2.0
22 stars 8 forks source link

Star rating emptyColor wont change! #16

Open prajilshresthaiw opened 4 years ago

prajilshresthaiw commented 4 years ago

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

Possible Fix: File name: star-rantings.android.js, line number 40 emptyDrawable.setColorFilter(new color_1.Color('white').android, android.graphics.PorterDuff.Mode.SRC_ATOP);

Changed to: emptyDrawable.setColorFilter(new color_1.Color(color).android, android.graphics.PorterDuff.Mode.SRC_ATOP);

The issue was that the color was manually set to white, I just replaced it with the parameter.

prajilshresthaiw commented 4 years ago

@triniwiz @sean-perkins