Fix previewing link in conversation main status activating link

Closes #311
This commit is contained in:
Shadowfacts 2022-12-17 13:05:50 -05:00
parent 4b2a263889
commit 97a2278634
1 changed files with 3 additions and 1 deletions

View File

@ -214,7 +214,9 @@ extension ContentTextView: UITextViewDelegate {
} else {
// 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
handleLinkTapped(url: URL, text: (text as NSString).substring(with: characterRange))
if interaction == .invokeDefaultAction {
handleLinkTapped(url: URL, text: (text as NSString).substring(with: characterRange))
}
return false
}
}