summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrina6350.you <rina6350.you@samsung.com>2017-05-30 06:55:27 (GMT)
committerKangho Hur <kangho.hur@samsung.com>2017-07-10 02:11:26 (GMT)
commit30905150de33a4ff833a68cee99f9ae5912692d5 (patch)
treee3d9d1c22a338a90b3e9a5802fe3c3afc06d6885
parent84426903b24c0ed92c61eae85842c78473892f25 (diff)
downloadxamarin-forms-30905150de33a4ff833a68cee99f9ae5912692d5.zip
xamarin-forms-30905150de33a4ff833a68cee99f9ae5912692d5.tar.gz
xamarin-forms-30905150de33a4ff833a68cee99f9ae5912692d5.tar.bz2
Prevent the bug by setting invalid value
Change-Id: I3b7015d60332d591f697ceaf4058aa30852482ce
-rwxr-xr-xXamarin.Forms.Platform.Tizen/Renderers/TabbedPageRenderer.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/TabbedPageRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/TabbedPageRenderer.cs
index bd89102..4ca3e77 100755
--- a/Xamarin.Forms.Platform.Tizen/Renderers/TabbedPageRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/TabbedPageRenderer.cs
@@ -141,8 +141,12 @@ namespace Xamarin.Forms.Platform.Tizen
protected override void UpdateThemeStyle()
{
- _toolbar.Style = Element.OnThisPlatform().GetStyle();
- ((IVisualElementController)Element).NativeSizeChanged();
+ var style = Element.OnThisPlatform().GetStyle();
+ if (!string.IsNullOrEmpty(style))
+ {
+ _toolbar.Style = style;
+ ((IVisualElementController)Element).NativeSizeChanged();
+ }
}
void UpdateTitle()