Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
fix 54730 (#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
kingces95 authored and rmarinho committed May 4, 2017
1 parent 5518d3f commit b26d9ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Xamarin.Forms.Platform.WinRT/LabelRenderer.cs
Expand Up @@ -17,7 +17,7 @@ public static class FormattedStringExtensions
{
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();
Expand Down

0 comments on commit b26d9ec

Please sign in to comment.