Fix text click for Privacy Policy and Terms of Use links

This commit is contained in:
Benoit Martins 2025-04-28 10:27:43 +02:00
parent 3eb4e4a5fe
commit fca995470f

View file

@ -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