summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen
diff options
context:
space:
mode:
authorrina6350.you <rina6350.you@samsung.com>2017-05-30 15:35:57 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-10-23 13:34:36 +0900
commitb0afe435b9f3bcf58f532e5443b3a4336e42b3d4 (patch)
treed8a19b14050b186ca73acc0d452baab6eec9bee3 /Xamarin.Forms.Platform.Tizen
parentcdf2f7aa800ba640d372dbee03b03cfde4f1832b (diff)
downloadxamarin-forms-b0afe435b9f3bcf58f532e5443b3a4336e42b3d4.tar.gz
xamarin-forms-b0afe435b9f3bcf58f532e5443b3a4336e42b3d4.tar.bz2
xamarin-forms-b0afe435b9f3bcf58f532e5443b3a4336e42b3d4.zip
Fix the ProgressBar issue for initial value
TASK=TCAPI-2394 change-Id: I384b0f2891f535870b4f6870d6aab254cabe4dca
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen')
-rwxr-xr-x[-rw-r--r--]Xamarin.Forms.Platform.Tizen/Renderers/ProgressBarRenderer.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/ProgressBarRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/ProgressBarRenderer.cs
index 444bc852..d7471b43 100644..100755
--- a/Xamarin.Forms.Platform.Tizen/Renderers/ProgressBarRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/ProgressBarRenderer.cs
@@ -55,7 +55,9 @@ namespace Xamarin.Forms.Platform.Tizen
protected override void UpdateThemeStyle()
{
- Control.Style = SpecificVE.GetStyle(Element);
+ var themeStyle = SpecificVE.GetStyle(Element);
+ if (!string.IsNullOrEmpty(themeStyle))
+ Control.Style = themeStyle;
}
void UpdateAll()