summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS
diff options
context:
space:
mode:
authoradrianknight89 <adrianknight89@outlook.com>2016-12-04 13:44:40 (GMT)
committerStephane Delcroix <stephane@delcroix.org>2016-12-04 13:44:40 (GMT)
commitfb76107f4f3294a9d32c6983bc742ce8dff60cd8 (patch)
treead7caec6ebf97926bac59fcb37a539623749c146 /Xamarin.Forms.Platform.iOS
parent81182e0638eff187a18f90f01819e7bb5b2a0886 (diff)
downloadxamarin-forms-fb76107f4f3294a9d32c6983bc742ce8dff60cd8.zip
xamarin-forms-fb76107f4f3294a9d32c6983bc742ce8dff60cd8.tar.gz
xamarin-forms-fb76107f4f3294a9d32c6983bc742ce8dff60cd8.tar.bz2
dispose tap gesture (#601)
Diffstat (limited to 'Xamarin.Forms.Platform.iOS')
-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 9eb9d4f..627bec7 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();