summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS/GlobalCloseContextGestureRecognizer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/GlobalCloseContextGestureRecognizer.cs')
-rw-r--r--Xamarin.Forms.Platform.iOS/GlobalCloseContextGestureRecognizer.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/Xamarin.Forms.Platform.iOS/GlobalCloseContextGestureRecognizer.cs b/Xamarin.Forms.Platform.iOS/GlobalCloseContextGestureRecognizer.cs
index fa76b982..f0e8522b 100644
--- a/Xamarin.Forms.Platform.iOS/GlobalCloseContextGestureRecognizer.cs
+++ b/Xamarin.Forms.Platform.iOS/GlobalCloseContextGestureRecognizer.cs
@@ -22,13 +22,11 @@ namespace Xamarin.Forms.Platform.iOS
{
internal class GlobalCloseContextGestureRecognizer : UIGestureRecognizer
{
- List<UIButton> _buttons;
UIScrollView _scrollView;
- public GlobalCloseContextGestureRecognizer(UIScrollView scrollView, List<UIButton> buttons, NSAction activated) : base(activated)
+ public GlobalCloseContextGestureRecognizer(UIScrollView scrollView, NSAction activated) : base(activated)
{
_scrollView = scrollView;
- _buttons = buttons;
ShouldReceiveTouch = OnShouldReceiveTouch;
}
@@ -57,7 +55,6 @@ namespace Xamarin.Forms.Platform.iOS
if (disposing)
{
- _buttons = null;
_scrollView = null;
}
}