diff options
author | Paul DiPietro <pauldipietro@users.noreply.github.com> | 2016-12-06 05:01:43 -0700 |
---|---|---|
committer | Rui Marinho <me@ruimarinho.net> | 2016-12-06 12:01:43 +0000 |
commit | 331a7b76db5bc645852b8d50a443f5a205a860d3 (patch) | |
tree | 91cc67957a6d434dfe61eef28d09406958aa23d4 /Xamarin.Forms.Platform.WinRT | |
parent | 75258aa80062b9299fb8cf63bf376e7cbd71769c (diff) | |
download | xamarin-forms-331a7b76db5bc645852b8d50a443f5a205a860d3.tar.gz xamarin-forms-331a7b76db5bc645852b8d50a443f5a205a860d3.tar.bz2 xamarin-forms-331a7b76db5bc645852b8d50a443f5a205a860d3.zip |
[WinRT] Do not store previous page when popping (#565)
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT')
-rw-r--r-- | Xamarin.Forms.Platform.WinRT/NavigationPageRenderer.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/NavigationPageRenderer.cs b/Xamarin.Forms.Platform.WinRT/NavigationPageRenderer.cs index efb941fa..5d6b2126 100644 --- a/Xamarin.Forms.Platform.WinRT/NavigationPageRenderer.cs +++ b/Xamarin.Forms.Platform.WinRT/NavigationPageRenderer.cs @@ -427,7 +427,9 @@ namespace Xamarin.Forms.Platform.WinRT _currentPage.PropertyChanged -= OnCurrentPagePropertyChanged; } - _previousPage = _currentPage; + if (!isPopping) + _previousPage = _currentPage; + _currentPage = page; if (page == null) |