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-07-10 11:11:27 +0900
commit372a380207b3b76c5e1a3c0579987db5e6f45218 (patch)
tree340a75e41cec9c6fe8757075a1fdd70abb8cef2e /Xamarin.Forms.Platform.Tizen/Renderers/ProgressBarRenderer.cs
parent7b35d0ad9c9f0441d11e7d15c37e4ce3cff1e7f5 (diff)
downloadxamarin-forms-372a380207b3b76c5e1a3c0579987db5e6f45218.tar.gz
xamarin-forms-372a380207b3b76c5e1a3c0579987db5e6f45218.tar.bz2
xamarin-forms-372a380207b3b76c5e1a3c0579987db5e6f45218.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()