From fca995470f3f7e726e6242b0db6f278edb1f1a34 Mon Sep 17 00:00:00 2001 From: Benoit Martins Date: Mon, 28 Apr 2025 10:27:43 +0200 Subject: [PATCH] Fix text click for Privacy Policy and Terms of Use links --- Classes/AssistantView.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Classes/AssistantView.m b/Classes/AssistantView.m index e760f083d..08458560e 100644 --- a/Classes/AssistantView.m +++ b/Classes/AssistantView.m @@ -183,7 +183,8 @@ static UICompositeViewDescription *compositeDescription = nil; #pragma mark - UITextViewDelegate - (BOOL)textView:(UITextView *)textView shouldInteractWithURL:(NSURL *)URL inRange:(NSRange)characterRange interaction:(UITextItemInteraction)interaction { - return [[UIApplication sharedApplication] openURL:URL]; + [[UIApplication sharedApplication] openURL:URL options:@{} completionHandler:nil]; + return NO; } #pragma mark - Utils