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-03-24 04:19:01 (GMT)
commitd13398b202b91fe8a0137d6ac5cf5286d4778cb2 (patch)
tree679526052d5593a16741579578c3f5627d325696
parent81886581b823f6100d21501408ac60a535479e58 (diff)
downloadxamarin-forms-d13398b202b91fe8a0137d6ac5cf5286d4778cb2.zip
xamarin-forms-d13398b202b91fe8a0137d6ac5cf5286d4778cb2.tar.gz
xamarin-forms-d13398b202b91fe8a0137d6ac5cf5286d4778cb2.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;
}
}