Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit 677170e

Browse files
committed
Removed TapGestureRecognizer, which is no longer necessary.
1 parent 17274c8 commit 677170e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

FormsGallery/FormsGallery/FormsGallery/CodeExamples/MasterDetailPageDemoPage.cs

100755100644
Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,6 @@ public MasterDetailPageDemoPage ()
5858
NamedColorPage detailPage = new NamedColorPage (true);
5959
Detail = detailPage;
6060

61-
// For Android & Windows Phone, provide a way to get back to the master page.
62-
if (Device.RuntimePlatform != Device.iOS) {
63-
TapGestureRecognizer tap = new TapGestureRecognizer ();
64-
tap.Tapped += (sender, args) => {
65-
IsPresented = true;
66-
};
67-
68-
detailPage.Content.BackgroundColor = Color.Transparent;
69-
detailPage.Content.GestureRecognizers.Add (tap);
70-
}
71-
7261
// Define a selected handler for the ListView.
7362
listView.ItemSelected += (sender, args) => {
7463
// Set the BindingContext of the detail page.

0 commit comments

Comments
 (0)