summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Renderers/ActivityIndicatorRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers/ActivityIndicatorRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/ActivityIndicatorRenderer.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/ActivityIndicatorRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/ActivityIndicatorRenderer.cs
index cb72bcd..fdad3c7 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/ActivityIndicatorRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/ActivityIndicatorRenderer.cs
@@ -7,10 +7,10 @@ namespace Xamarin.Forms.Platform.Tizen
{
static readonly EColor s_defaultColor = new EColor(129, 198, 255);
- static ActivityIndicatorRenderer()
+ public ActivityIndicatorRenderer()
{
- RegisterPropertyHandler(ActivityIndicator.ColorProperty, (r, i) => (r as ActivityIndicatorRenderer).UpdateColor(i));
- RegisterPropertyHandler(ActivityIndicator.IsRunningProperty, (r) => (r as ActivityIndicatorRenderer).UpdateIsRunning());
+ RegisterPropertyHandler(ActivityIndicator.ColorProperty, UpdateColor);
+ RegisterPropertyHandler(ActivityIndicator.IsRunningProperty, UpdateIsRunning);
}
protected override void OnElementChanged(ElementChangedEventArgs<ActivityIndicator> e)