summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Renderers
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-04-27 13:48:33 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-07-10 11:11:24 +0900
commit79282d701e4ec71ced28953656ce9ea8e743ea22 (patch)
tree3f0f0e805605f1bedc7afa072418271f7eb4def6 /Xamarin.Forms.Platform.Tizen/Renderers
parent44d9285c234e8da80696b09761e59539007a27b0 (diff)
downloadxamarin-forms-79282d701e4ec71ced28953656ce9ea8e743ea22.tar.gz
xamarin-forms-79282d701e4ec71ced28953656ce9ea8e743ea22.tar.bz2
xamarin-forms-79282d701e4ec71ced28953656ce9ea8e743ea22.zip
remove hard-coded default text color for Button
Change-Id: I98e4b5030550c63b9c583cd01d7fe7811f949df7
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/ButtonRenderer.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/ButtonRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/ButtonRenderer.cs
index 456bb0d5..fa4afb00 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/ButtonRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/ButtonRenderer.cs
@@ -7,8 +7,6 @@ namespace Xamarin.Forms.Platform.Tizen
{
public class ButtonRenderer : ViewRenderer<Button, Native.Button>
{
- static readonly EColor s_defaultTextColor = EColor.White;
-
public ButtonRenderer()
{
RegisterPropertyHandler(Button.TextProperty, UpdateText);
@@ -69,7 +67,7 @@ namespace Xamarin.Forms.Platform.Tizen
void UpdateTextColor()
{
- Control.TextColor = Element.TextColor.IsDefault ? s_defaultTextColor : Element.TextColor.ToNative();
+ Control.TextColor = Element.TextColor.ToNative();
}
void UpdateBitmap()