From d39f7a937dc8b47b98d120469db35d697bcf74be Mon Sep 17 00:00:00 2001 From: Hailey Date: Mon, 15 Jan 2024 17:03:19 -0800 Subject: [PATCH] remove unnecessary property for gesture recognizer --- modules/expo-selectable-text/ios/ExpoUITextView.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/expo-selectable-text/ios/ExpoUITextView.swift b/modules/expo-selectable-text/ios/ExpoUITextView.swift index 04fcf67da0..4f4c11ce79 100644 --- a/modules/expo-selectable-text/ios/ExpoUITextView.swift +++ b/modules/expo-selectable-text/ios/ExpoUITextView.swift @@ -4,8 +4,6 @@ class ExpoUITextView: ExpoView { var textView: UITextView var textChildren: [ExpoUITextViewChild] = [] - var tapGestureRecognizer: UITapGestureRecognizer? - let onTextLayout = EventDispatcher() // Props @@ -34,7 +32,6 @@ class ExpoUITextView: ExpoView { // Configure the tap gesture recognizer let tapGestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(callOnPress(_:))) tapGestureRecognizer.isEnabled = true - self.tapGestureRecognizer = tapGestureRecognizer textView.addGestureRecognizer(tapGestureRecognizer) // Listen for dynamic type changes