Prevent the "broken image" icon from being displayed when an Image does not have an image source.

This commit is contained in:
Troy Stanger 2018-11-14 09:35:20 -06:00
parent 12c532fd3d
commit 915f96fd29
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ namespace Ooui.Forms.Renderers
return;
var imageView = Control;
if (imageView != null)
if (imageView != null && uiimage != null)
imageView.Source = uiimage;
((IVisualElementController)Element).NativeSizeChanged ();