summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Renderers/ImageRenderer.cs
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-06-19 14:14:53 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-06-19 14:14:53 +0900
commit5e653c88a335302641ecb537ad24864d2518a469 (patch)
treee9163878aefbfb4214ff374a8e670fbdf013d0bf /Xamarin.Forms.Platform.Tizen/Renderers/ImageRenderer.cs
parentfc9034d5eff4df3d8a18f39194f935e4d5d2bf03 (diff)
downloadxamarin-forms-5e653c88a335302641ecb537ad24864d2518a469.tar.gz
xamarin-forms-5e653c88a335302641ecb537ad24864d2518a469.tar.bz2
xamarin-forms-5e653c88a335302641ecb537ad24864d2518a469.zip
Apply TizenSpecifics only if available
- Nothing to happen if Xamarin.Forms.dll doesn't have Xamarin.Forms.PlatformConfiguration.TizenSpecific. Change-Id: I4586178a0eb97610c88bfb272e26e3e0a43b5169
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers/ImageRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/ImageRenderer.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/ImageRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/ImageRenderer.cs
index f402178b..63fb327a 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/ImageRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/ImageRenderer.cs
@@ -43,7 +43,7 @@ namespace Xamarin.Forms.Platform.Tizen
{
UpdateIsOpaque();
}
- else if (e.PropertyName == Specific.BlendColorProperty.PropertyName)
+ else if (TizenPlatformServices.AppDomain.IsTizenSpecificAvailable && e.PropertyName == "BlendColor")
{
UpdateBlendColor();
}
@@ -72,7 +72,9 @@ namespace Xamarin.Forms.Platform.Tizen
protected virtual void UpdateAfterLoading()
{
UpdateIsOpaque();
- UpdateBlendColor();
+ {
+ UpdateBlendColor();
+ }
}
void UpdateAspect()