From 82e7a27eb4a352f50c0b62ab16c9b4729f94633b Mon Sep 17 00:00:00 2001 From: Kangho Hur Date: Mon, 19 Jun 2017 14:14:53 +0900 Subject: Apply TizenSpecifics only if available - Nothing to happen if Xamarin.Forms.dll doesn't have Xamarin.Forms.PlatformConfiguration.TizenSpecific. Change-Id: I4586178a0eb97610c88bfb272e26e3e0a43b5169 --- Xamarin.Forms.Platform.Tizen/Renderers/ProgressBarRenderer.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) mode change 100755 => 100644 Xamarin.Forms.Platform.Tizen/Renderers/ProgressBarRenderer.cs (limited to 'Xamarin.Forms.Platform.Tizen/Renderers/ProgressBarRenderer.cs') diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/ProgressBarRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/ProgressBarRenderer.cs old mode 100755 new mode 100644 index d7471b43..5c7a4231 --- a/Xamarin.Forms.Platform.Tizen/Renderers/ProgressBarRenderer.cs +++ b/Xamarin.Forms.Platform.Tizen/Renderers/ProgressBarRenderer.cs @@ -47,7 +47,7 @@ namespace Xamarin.Forms.Platform.Tizen { UpdateProgress(); } - else if (e.PropertyName == Specific.ProgressBarPulsingStatusProperty.PropertyName) + else if (TizenPlatformServices.AppDomain.IsTizenSpecificAvailable && e.PropertyName == "ProgressBarPulsingStatus") { UpdatePulsingStatus(); } @@ -63,7 +63,10 @@ namespace Xamarin.Forms.Platform.Tizen void UpdateAll() { UpdateProgress(); - UpdatePulsingStatus(); + if (TizenPlatformServices.AppDomain.IsTizenSpecificAvailable) + { + UpdatePulsingStatus(); + } } void UpdateProgress() -- cgit v1.2.3