From c97c6c2b8d007a4f2408d95c7825170182cc49c4 Mon Sep 17 00:00:00 2001 From: Kangho Hur Date: Tue, 24 Jan 2017 09:10:19 +0900 Subject: [PATCH] Fix Span's markup text tag Change-Id: Ib667d444c4bfe4726298c3befde00d9f093ff107 --- Xamarin.Forms.Platform.Tizen/Native/Span.cs | 2 +- Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Xamarin.Forms.Platform.Tizen/Native/Span.cs b/Xamarin.Forms.Platform.Tizen/Native/Span.cs index f0932f4..4a5daf3 100644 --- a/Xamarin.Forms.Platform.Tizen/Native/Span.cs +++ b/Xamarin.Forms.Platform.Tizen/Native/Span.cs @@ -137,7 +137,7 @@ namespace Xamarin.Forms.Platform.Tizen.Native sb.Append(GetDecoratedText()); - sb.Append(""); + sb.Append(""); return sb.ToString(); } diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs index 1fdd7fb..5aa8f78 100644 --- a/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs +++ b/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs @@ -65,8 +65,6 @@ namespace Xamarin.Forms.Platform.Tizen nativeSpan.VerticalTextAlignment = Control.VerticalTextAlignment; nativeSpan.ForegroundColor = span.ForegroundColor.ToNative(); nativeSpan.BackgroundColor = span.BackgroundColor.ToNative(); - - nativeString.Spans.Add(nativeSpan); } -- 2.7.4