remove unnecessary property for gesture recognizer
This commit is contained in:
@@ -4,8 +4,6 @@ class ExpoUITextView: ExpoView {
|
|||||||
var textView: UITextView
|
var textView: UITextView
|
||||||
var textChildren: [ExpoUITextViewChild] = []
|
var textChildren: [ExpoUITextViewChild] = []
|
||||||
|
|
||||||
var tapGestureRecognizer: UITapGestureRecognizer?
|
|
||||||
|
|
||||||
let onTextLayout = EventDispatcher()
|
let onTextLayout = EventDispatcher()
|
||||||
|
|
||||||
// Props
|
// Props
|
||||||
@@ -34,7 +32,6 @@ class ExpoUITextView: ExpoView {
|
|||||||
// Configure the tap gesture recognizer
|
// Configure the tap gesture recognizer
|
||||||
let tapGestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(callOnPress(_:)))
|
let tapGestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(callOnPress(_:)))
|
||||||
tapGestureRecognizer.isEnabled = true
|
tapGestureRecognizer.isEnabled = true
|
||||||
self.tapGestureRecognizer = tapGestureRecognizer
|
|
||||||
textView.addGestureRecognizer(tapGestureRecognizer)
|
textView.addGestureRecognizer(tapGestureRecognizer)
|
||||||
|
|
||||||
// Listen for dynamic type changes
|
// Listen for dynamic type changes
|
||||||
|
|||||||
Reference in New Issue
Block a user