diff --git a/Signal/src/Storyboard/Storyboard.storyboard b/Signal/src/Storyboard/Storyboard.storyboard index da98a7392..23e981aa0 100755 --- a/Signal/src/Storyboard/Storyboard.storyboard +++ b/Signal/src/Storyboard/Storyboard.storyboard @@ -1,8 +1,8 @@ - + - + @@ -92,7 +92,7 @@ - + @@ -1736,7 +1736,7 @@ A0 09 9A FF A8 8A 09 99 - + @@ -1806,19 +1806,6 @@ A0 09 9A FF A8 8A 09 99 - @@ -1826,13 +1813,10 @@ A0 09 9A FF A8 8A 09 99 - - - @@ -2024,11 +2008,9 @@ A0 09 9A FF A8 8A 09 99 - - @@ -2044,8 +2026,8 @@ A0 09 9A FF A8 8A 09 99 - + diff --git a/Signal/src/views/ContactTableViewCell.h b/Signal/src/views/ContactTableViewCell.h index 80c82e278..d2c19873e 100644 --- a/Signal/src/views/ContactTableViewCell.h +++ b/Signal/src/views/ContactTableViewCell.h @@ -10,10 +10,8 @@ @interface ContactTableViewCell : UITableViewCell @property (nonatomic, strong) IBOutlet UILabel *nameLabel; -@property (nonatomic, strong) IBOutlet UIButton *callButton ; - @property BOOL shouldShowContactButtons; - (void)configureWithContact:(Contact *)contact; --(IBAction)callContact:(id)sender; + @end diff --git a/Signal/src/views/ContactTableViewCell.m b/Signal/src/views/ContactTableViewCell.m index 0e522ffcd..c46ee8218 100644 --- a/Signal/src/views/ContactTableViewCell.m +++ b/Signal/src/views/ContactTableViewCell.m @@ -25,7 +25,6 @@ - (void)configureWithContact:(Contact *)contact { - _callButton.hidden = !contact.isRedPhoneContact; if(!contact.isTextSecureContact) { self.selectionStyle = UITableViewCellSelectionStyleNone; } @@ -64,15 +63,4 @@ return fullNameAttributedString; } --(IBAction)callContact:(id)sender -{ - if (_associatedContact.isRedPhoneContact) { - NSArray *redPhoneIdentifiers = [_associatedContact redPhoneIdentifiers]; - [Environment.phoneManager initiateOutgoingCallToContact:_associatedContact atRemoteNumber:[redPhoneIdentifiers firstObject]]; - } else{ - DDLogWarn(@"Tried to intiate a call but contact has no RedPhone identifier"); - } -} - - @end