diff options
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers/TabbedPageRenderer.cs')
-rwxr-xr-x[-rw-r--r--] | Xamarin.Forms.Platform.Tizen/Renderers/TabbedPageRenderer.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/TabbedPageRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/TabbedPageRenderer.cs index 9d9283e..f0ff279 100644..100755 --- a/Xamarin.Forms.Platform.Tizen/Renderers/TabbedPageRenderer.cs +++ b/Xamarin.Forms.Platform.Tizen/Renderers/TabbedPageRenderer.cs @@ -172,8 +172,11 @@ namespace Xamarin.Forms.Platform.Tizen _toolbarItemList[_scroller.HorizontalPageIndex].IsSelected = true; } - void UpdateBarBackgroundColor() + void UpdateBarBackgroundColor(bool initialize) { + if (initialize && Element.BackgroundColor.IsDefault) + return; + EColor bgColor = Element.BarBackgroundColor.ToNative(); _toolbar.BackgroundColor = bgColor; foreach (EToolbarItem item in _itemToItemPage.Keys) |