forked from shadowfacts/Tusker
Fix previewing link in conversation main status activating link
Closes #311
This commit is contained in:
parent
4b2a263889
commit
97a2278634
|
@ -214,7 +214,9 @@ extension ContentTextView: UITextViewDelegate {
|
||||||
} else {
|
} else {
|
||||||
// otherwise, regular taps are handled by the gesture recognizer, but the accessibility interaction to select links with the rotor goes through here
|
// otherwise, regular taps are handled by the gesture recognizer, but the accessibility interaction to select links with the rotor goes through here
|
||||||
// and this seems to be the only way of overriding what it does
|
// and this seems to be the only way of overriding what it does
|
||||||
|
if interaction == .invokeDefaultAction {
|
||||||
handleLinkTapped(url: URL, text: (text as NSString).substring(with: characterRange))
|
handleLinkTapped(url: URL, text: (text as NSString).substring(with: characterRange))
|
||||||
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue