summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Renderers/ProgressBarRenderer.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-10-23 13:34:36 +0900
commit82e7a27eb4a352f50c0b62ab16c9b4729f94633b (patch)
treef9e7d9c225b24cd09f99b78fc941ff8bc3bd2cb0 /Xamarin.Forms.Platform.Tizen/Renderers/ProgressBarRenderer.cs
parentc7037cc9e42caa73dc2ea4b1347ce5a7a5e5e93d (diff)
downloadxamarin-forms-82e7a27eb4a352f50c0b62ab16c9b4729f94633b.tar.gz
xamarin-forms-82e7a27eb4a352f50c0b62ab16c9b4729f94633b.tar.bz2
xamarin-forms-82e7a27eb4a352f50c0b62ab16c9b4729f94633b.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/ProgressBarRenderer.cs')
-rw-r--r--[-rwxr-xr-x]Xamarin.Forms.Platform.Tizen/Renderers/ProgressBarRenderer.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/ProgressBarRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/ProgressBarRenderer.cs
index d7471b43..5c7a4231 100755..100644
--- 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()