summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT
diff options
context:
space:
mode:
authorPaul DiPietro <pauldipietro@users.noreply.github.com>2016-12-06 05:01:43 -0700
committerRui Marinho <me@ruimarinho.net>2016-12-06 12:01:43 +0000
commit331a7b76db5bc645852b8d50a443f5a205a860d3 (patch)
tree91cc67957a6d434dfe61eef28d09406958aa23d4 /Xamarin.Forms.Platform.WinRT
parent75258aa80062b9299fb8cf63bf376e7cbd71769c (diff)
downloadxamarin-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.cs4
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)