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.Core.UnitTests | |
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.Core.UnitTests')
-rw-r--r-- | Xamarin.Forms.Core.UnitTests/ImageTests.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Core.UnitTests/ImageTests.cs b/Xamarin.Forms.Core.UnitTests/ImageTests.cs index 1e2546db..1e14eb3c 100644 --- a/Xamarin.Forms.Core.UnitTests/ImageTests.cs +++ b/Xamarin.Forms.Core.UnitTests/ImageTests.cs @@ -249,9 +249,9 @@ namespace Xamarin.Forms.Core.UnitTests { if (initialLoad && Element.Source != null) { initialLoad = false; - ((IElementController)Element).SetValueFromRenderer (Image.IsLoadingPropertyKey, true); + ((IImageController)Element).SetIsLoading(true); await (Element.Source as UriImageSource).GetStreamAsync (); - ((IElementController)Element).SetValueFromRenderer (Image.IsLoadingPropertyKey, false); + ((IImageController)Element).SetIsLoading(false); } } |