summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrina6350.you <rina6350.you@samsung.com>2017-07-13 09:49:47 (GMT)
committerKangho Hur <kangho.hur@samsung.com>2017-10-23 04:34:39 (GMT)
commitff8a2e1f975bbe99d7f6a67f5b4d38afdcc764a2 (patch)
treed306a5371a1edccaa16c6c79f39a98d5ba52f97d
parent671f8fbca43944e131898ef9949f27f707625fea (diff)
downloadxamarin-forms-ff8a2e1f975bbe99d7f6a67f5b4d38afdcc764a2.zip
xamarin-forms-ff8a2e1f975bbe99d7f6a67f5b4d38afdcc764a2.tar.gz
xamarin-forms-ff8a2e1f975bbe99d7f6a67f5b4d38afdcc764a2.tar.bz2
Remove unnecessary method call of NavigationPageRenderer
Change-Id: Ie27d12a60b71146efb9468e3c9778122c132ad9c
-rwxr-xr-xXamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs8
1 files changed, 1 insertions, 7 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
index 84481fc..c15045f 100755
--- a/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/NavigationPageRenderer.cs
@@ -192,17 +192,11 @@ namespace Xamarin.Forms.Platform.Tizen
if (_naviFrame.NavigationStack.Count == 0 || item == null || item != _naviFrame.NavigationStack.Last())
return;
- item.SetPartContent(PartLeftToolbar, null, false);
- item.SetPartContent(PartRightToolbar, null, false);
-
Native.Button rightButton = GetToolbarButton(ToolbarButtonPosition.Right);
item.SetPartContent(PartRightToolbar, rightButton);
Native.Button leftButton = GetToolbarButton(ToolbarButtonPosition.Left);
- if (leftButton == null)
- UpdateHasBackButton(page, item);
- else
- item.SetPartContent(PartLeftToolbar, leftButton);
+ item.SetPartContent(PartLeftToolbar, leftButton);
}
void UpdateHasBackButton(Page page, NaviItem item = null)