summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrina6350.you <rina6350.you@samsung.com>2017-07-17 05:14:26 (GMT)
committerKangho Hur <kangho.hur@samsung.com>2017-10-23 04:34:39 (GMT)
commit79f80e6e6c96da3d88ded283af9806b8c1078903 (patch)
tree39c107991ec22bea1dddfa031bb8bd83c20c850e
parenta84194f4ea7f0754578d262b23c95f8c4fd35b04 (diff)
downloadxamarin-forms-79f80e6e6c96da3d88ded283af9806b8c1078903.zip
xamarin-forms-79f80e6e6c96da3d88ded283af9806b8c1078903.tar.gz
xamarin-forms-79f80e6e6c96da3d88ded283af9806b8c1078903.tar.bz2
Remove unnecessary assignment for TabbedPageRenderer
Change-Id: I6001db74a0fa090851f38133443a4dcc21eb4917
-rwxr-xr-x[-rw-r--r--]Xamarin.Forms.Platform.Tizen/Renderers/TabbedPageRenderer.cs5
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)