summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)