summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradrianknight89 <adrianknight89@outlook.com>2016-12-04 07:44:40 -0600
committerStephane Delcroix <stephane@delcroix.org>2016-12-04 14:44:40 +0100
commitfb76107f4f3294a9d32c6983bc742ce8dff60cd8 (patch)
treead7caec6ebf97926bac59fcb37a539623749c146
parent81182e0638eff187a18f90f01819e7bb5b2a0886 (diff)
downloadxamarin-forms-fb76107f4f3294a9d32c6983bc742ce8dff60cd8.tar.gz
xamarin-forms-fb76107f4f3294a9d32c6983bc742ce8dff60cd8.tar.bz2
xamarin-forms-fb76107f4f3294a9d32c6983bc742ce8dff60cd8.zip
dispose tap gesture (#601)
-rw-r--r--Xamarin.Forms.Platform.iOS/Renderers/PhoneMasterDetailRenderer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.iOS/Renderers/PhoneMasterDetailRenderer.cs b/Xamarin.Forms.Platform.iOS/Renderers/PhoneMasterDetailRenderer.cs
index 9eb9d4f8..627bec7f 100644
--- a/Xamarin.Forms.Platform.iOS/Renderers/PhoneMasterDetailRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/Renderers/PhoneMasterDetailRenderer.cs
@@ -171,7 +171,7 @@ namespace Xamarin.Forms.Platform.iOS
if (_tapGesture != null)
{
- if (_clickOffView != null && _clickOffView.GestureRecognizers.Contains(_panGesture))
+ if (_clickOffView != null && _clickOffView.GestureRecognizers.Contains(_tapGesture))
{
_clickOffView.GestureRecognizers.Remove(_tapGesture);
_clickOffView.Dispose();