summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Renderers/EntryRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers/EntryRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/EntryRenderer.cs11
1 files changed, 2 insertions, 9 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/EntryRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/EntryRenderer.cs
index 7e7c8925..c880098a 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/EntryRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/EntryRenderer.cs
@@ -1,17 +1,10 @@
using System;
-using Xamarin.Forms.PlatformConfiguration.TizenSpecific;
-
-using EColor = ElmSharp.Color;
using Specific = Xamarin.Forms.PlatformConfiguration.TizenSpecific.Entry;
namespace Xamarin.Forms.Platform.Tizen
{
public class EntryRenderer : ViewRenderer<Entry, Native.Entry>, IDisposable
{
- static readonly EColor s_defaultTextColor = EColor.Black;
-
- static readonly EColor s_defaultPlaceholderColor = EColor.Gray;
-
public EntryRenderer()
{
RegisterPropertyHandler(Entry.IsPasswordProperty, UpdateIsPassword);
@@ -90,7 +83,7 @@ namespace Xamarin.Forms.Platform.Tizen
void UpdateTextColor()
{
- Control.TextColor = Element.TextColor.IsDefault ? s_defaultTextColor : Element.TextColor.ToNative();
+ Control.TextColor = Element.TextColor.ToNative();
}
void UpdateFontSize()
@@ -125,7 +118,7 @@ namespace Xamarin.Forms.Platform.Tizen
void UpdatePlaceholderColor()
{
- Control.PlaceholderColor = Element.PlaceholderColor.IsDefault ? s_defaultPlaceholderColor : Element.PlaceholderColor.ToNative();
+ Control.PlaceholderColor = Element.PlaceholderColor.ToNative();
}
void UpdateFontWeight()