diff options
author | E.Z. Hart <hartez@users.noreply.github.com> | 2016-05-02 14:56:03 -0600 |
---|---|---|
committer | E.Z. Hart <hartez@users.noreply.github.com> | 2016-05-02 14:56:03 -0600 |
commit | d11bc09e75b5ebad2b2e053d3a4b3bb476d9493d (patch) | |
tree | 5ae5f0246d3c462ab67a1f48c10eeed640c3705f /Xamarin.Forms.Platform.WinRT/ImageRenderer.cs | |
parent | 93f22aaf28a3580b19559a793e2a3e6cd91b9bdb (diff) | |
download | xamarin-forms-d11bc09e75b5ebad2b2e053d3a4b3bb476d9493d.tar.gz xamarin-forms-d11bc09e75b5ebad2b2e053d3a4b3bb476d9493d.tar.bz2 xamarin-forms-d11bc09e75b5ebad2b2e053d3a4b3bb476d9493d.zip |
Prep Image for removal of InternalsVisibleTo (#140)
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT/ImageRenderer.cs')
-rw-r--r-- | Xamarin.Forms.Platform.WinRT/ImageRenderer.cs | 4 |
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 |