summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT/ImageRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT/ImageRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.WinRT/ImageRenderer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/ImageRenderer.cs b/Xamarin.Forms.Platform.WinRT/ImageRenderer.cs
index 47c674c7..29368aaf 100644
--- a/Xamarin.Forms.Platform.WinRT/ImageRenderer.cs
+++ b/Xamarin.Forms.Platform.WinRT/ImageRenderer.cs
@@ -100,7 +100,7 @@ namespace Xamarin.Forms.Platform.WinRT
async void UpdateSource()
{
- Element.SetValueCore(Image.IsLoadingPropertyKey, true);
+ ((IImageController)Element).SetIsLoading(true);
ImageSource source = Element.Source;
IImageSourceHandler handler;
@@ -126,7 +126,7 @@ namespace Xamarin.Forms.Platform.WinRT
else
Control.Source = null;
- Element?.SetValueCore(Image.IsLoadingPropertyKey, false);
+ ((IImageController)Element)?.SetIsLoading(false);
}
}
} \ No newline at end of file