summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Czaja <p.czaja@samsung.com>2017-02-02 06:48:06 (GMT)
committerKangho Hur <kangho.hur@samsung.com>2017-02-03 04:28:06 (GMT)
commit472d78754ece92cca55f3a4e4cf573a653b251db (patch)
tree6e522a5b80768b8e50a3bf0435f1b580cfc6b47c
parent9ac06d729ee858f62590d76d101808aec2a98c36 (diff)
downloadxamarin-forms-472d78754ece92cca55f3a4e4cf573a653b251db.zip
xamarin-forms-472d78754ece92cca55f3a4e4cf573a653b251db.tar.gz
xamarin-forms-472d78754ece92cca55f3a4e4cf573a653b251db.tar.bz2
[MasterDetailPage] Change behavior after back button pressed
Note: Behavior of MasterDetailPage control after back button pressed has been reversed to correspond to its behavior on Android platform. Change-Id: I42cadd645e536b511302acb22bd36ecc1709430c Signed-off-by: Piotr Czaja <p.czaja@samsung.com>
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/MasterDetailPageRenderer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/MasterDetailPageRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/MasterDetailPageRenderer.cs
index 9da812e..f6c8763 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/MasterDetailPageRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/MasterDetailPageRenderer.cs
@@ -56,9 +56,9 @@ namespace Xamarin.Forms.Platform.Tizen
void BackButtonPressedHandler(object sender, BackButtonPressedEventArgs e)
{
- if ((Element != null) && !Element.IsPresented)
+ if ((Element != null) && Element.IsPresented)
{
- Element.IsPresented = true;
+ Element.IsPresented = false;
e.Handled = true;
}
}