diff --git a/ui/styling/stylers.ios.ts b/ui/styling/stylers.ios.ts index 64a17b9b1..00e4d913a 100644 --- a/ui/styling/stylers.ios.ts +++ b/ui/styling/stylers.ios.ts @@ -514,6 +514,7 @@ export class ActivityIndicatorStyler implements definition.stylers.Styler { var bar = view.ios; return bar.color; } + public static registerHandlers() { style.registerHandler(style.colorProperty, new stylersCommon.StylePropertyChangedHandler( ActivityIndicatorStyler.setColorProperty, @@ -554,9 +555,11 @@ export class SliderStyler implements definition.stylers.Styler { } public static registerHandlers() { - SliderStyler.setColorProperty, - SliderStyler.resetColorProperty, - SliderStyler.getNativeColorValue), "Slider"); + style.registerHandler(style.colorProperty, new stylersCommon.StylePropertyChangedHandler( + SliderStyler.setColorProperty, + SliderStyler.resetColorProperty, + SliderStyler.getNativeColorValue), "Slider"); + style.registerHandler(style.backgroundColorProperty, new stylersCommon.StylePropertyChangedHandler( SliderStyler.setBackgroundColorProperty,