diff options
author | Kangho Hur <kangho.hur@samsung.com> | 2017-06-19 14:14:53 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-06-19 14:14:53 +0900 |
commit | 5e653c88a335302641ecb537ad24864d2518a469 (patch) | |
tree | e9163878aefbfb4214ff374a8e670fbdf013d0bf /Xamarin.Forms.Platform.Tizen/Renderers/ImageRenderer.cs | |
parent | fc9034d5eff4df3d8a18f39194f935e4d5d2bf03 (diff) | |
download | xamarin-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.cs | 6 |
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() |