diff options
author | Jimmy Garrido <jimmygarrido@outlook.com> | 2016-10-20 12:57:30 -0700 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-10-20 12:57:30 -0700 |
commit | 9572c0f7a7f8c49175853432fe7b61b431e450a1 (patch) | |
tree | f1cf2a9c16e00267e222d812e96efbc02710f51d /Xamarin.Forms.Platform.WinRT | |
parent | b9873a1b1b8fb7bc969debd8bd9ef6421ce5c6d4 (diff) | |
download | xamarin-forms-9572c0f7a7f8c49175853432fe7b61b431e450a1.tar.gz xamarin-forms-9572c0f7a7f8c49175853432fe7b61b431e450a1.tar.bz2 xamarin-forms-9572c0f7a7f8c49175853432fe7b61b431e450a1.zip |
[WinRT] Fix back button not showing if current page has no title (#438)
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT')
-rw-r--r-- | Xamarin.Forms.Platform.WinRT/NavigationPageRenderer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/NavigationPageRenderer.cs b/Xamarin.Forms.Platform.WinRT/NavigationPageRenderer.cs index 30a74877..efb941fa 100644 --- a/Xamarin.Forms.Platform.WinRT/NavigationPageRenderer.cs +++ b/Xamarin.Forms.Platform.WinRT/NavigationPageRenderer.cs @@ -495,7 +495,7 @@ namespace Xamarin.Forms.Platform.WinRT UpdateTitleOnParents(); bool showing = _container.TitleVisibility == Visibility.Visible; - bool newValue = GetIsNavBarPossible() && NavigationPage.GetHasNavigationBar(_currentPage) && !string.IsNullOrEmpty(_currentPage.Title); + bool newValue = GetIsNavBarPossible() && NavigationPage.GetHasNavigationBar(_currentPage); if (showing == newValue) return; |