summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 bd891025..4ca3e778 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()