From f87696cc6cd95953b054304bf0292a6e015c5a5c Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Tue, 16 May 2017 16:24:15 -0400 Subject: [PATCH] do not use phone data detectors The actions offered by the phone number data detectors are confusing within the context of a messaging app - e.g. people might assume that the "call" action correspons to a Signal call. // FREEBIE --- Signal/src/views/JSQMessagesCollectionViewCell+OWS.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Signal/src/views/JSQMessagesCollectionViewCell+OWS.m b/Signal/src/views/JSQMessagesCollectionViewCell+OWS.m index 1ce7b9e0c..abbbd1375 100644 --- a/Signal/src/views/JSQMessagesCollectionViewCell+OWS.m +++ b/Signal/src/views/JSQMessagesCollectionViewCell+OWS.m @@ -1,5 +1,6 @@ -// Created by Michael Kirk on 11/13/16. -// Copyright © 2016 Open Whisper Systems. All rights reserved. +// +// Copyright (c) 2017 Open Whisper Systems. All rights reserved. +// #import "JSQMessagesCollectionViewCell+OWS.h" #import "UIColor+OWS.h" @@ -22,8 +23,7 @@ NS_ASSUME_NONNULL_BEGIN }; self.textView.dataDetectorTypes - = (UIDataDetectorTypePhoneNumber | UIDataDetectorTypeLink | UIDataDetectorTypeAddress - | UIDataDetectorTypeCalendarEvent); + = (UIDataDetectorTypeLink | UIDataDetectorTypeAddress | UIDataDetectorTypeCalendarEvent); } @end