From b26d9ec0cb5a425ea7cb74646966b2871bd6c1fe Mon Sep 17 00:00:00 2001 From: kingces95 Date: Thu, 4 May 2017 11:32:21 -0400 Subject: fix 54730 (#874) --- Xamarin.Forms.Platform.WinRT/LabelRenderer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xamarin.Forms.Platform.WinRT/LabelRenderer.cs b/Xamarin.Forms.Platform.WinRT/LabelRenderer.cs index 1a4b0931..06e537ab 100644 --- a/Xamarin.Forms.Platform.WinRT/LabelRenderer.cs +++ b/Xamarin.Forms.Platform.WinRT/LabelRenderer.cs @@ -17,7 +17,7 @@ namespace Xamarin.Forms.Platform.WinRT { public static Run ToRun(this Span span) { - var run = new Run { Text = span.Text }; + var run = new Run { Text = span.Text ?? string.Empty }; if (span.ForegroundColor != Color.Default) run.Foreground = span.ForegroundColor.ToBrush(); -- cgit v1.2.3