diff options
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs index be5de861..d1d9c96d 100644 --- a/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs +++ b/Xamarin.Forms.Platform.Tizen/Renderers/LabelRenderer.cs @@ -6,9 +6,6 @@ namespace Xamarin.Forms.Platform.Tizen public class LabelRenderer : ViewRenderer<Label, Native.Label> { - static readonly EColor s_defaultBackgroundColor = EColor.Transparent; - static readonly EColor s_defaultForegroundColor = EColor.Black; - static readonly EColor s_defaultTextColor = s_defaultForegroundColor; public LabelRenderer() { @@ -79,7 +76,7 @@ namespace Xamarin.Forms.Platform.Tizen void UpdateTextColor() { - Control.TextColor = Element.TextColor.IsDefault ? s_defaultTextColor : Element.TextColor.ToNative(); + Control.TextColor = Element.TextColor.ToNative(); } void UpdateTextAlignment() |