diff options
Diffstat (limited to 'Xamarin.Forms.Platform.WP8/ImageRenderer.cs')
-rw-r--r-- | Xamarin.Forms.Platform.WP8/ImageRenderer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.WP8/ImageRenderer.cs b/Xamarin.Forms.Platform.WP8/ImageRenderer.cs index a3d4cacd..c51abe6e 100644 --- a/Xamarin.Forms.Platform.WP8/ImageRenderer.cs +++ b/Xamarin.Forms.Platform.WP8/ImageRenderer.cs @@ -78,7 +78,7 @@ namespace Xamarin.Forms.Platform.WinPhone async void SetSource(System.Windows.Controls.Image image) { - ((IImageController)Element).SetIsLoading(true); + Element.SetIsLoading(true); ImageSource source = Element.Source; IImageSourceHandler handler; @@ -102,7 +102,7 @@ namespace Xamarin.Forms.Platform.WinPhone else image.Source = null; - ((IImageController)Element).SetIsLoading(false); + Element.SetIsLoading(false); } } |