diff options
author | kingces95 <kingces95@users.noreply.github.com> | 2017-04-11 14:02:06 -0400 |
---|---|---|
committer | Rui Marinho <me@ruimarinho.net> | 2017-04-11 19:02:06 +0100 |
commit | 093a4efa2da9cb681890158ca8ee9bb6f30b0a8c (patch) | |
tree | ccc17255876e40d2c845d7b2c62dfc930156729d /Xamarin.Forms.Platform.WP8/ImageRenderer.cs | |
parent | 7458ca37330f424bf7fb1447580b0fa9c34c6db4 (diff) | |
download | xamarin-forms-093a4efa2da9cb681890158ca8ee9bb6f30b0a8c.tar.gz xamarin-forms-093a4efa2da9cb681890158ca8ee9bb6f30b0a8c.tar.bz2 xamarin-forms-093a4efa2da9cb681890158ca8ee9bb6f30b0a8c.zip |
Implicit impl of controller ifaces (#807)
* Simplify ICtrl callsites
* Rebase fix
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); } } |