From 9f4b8d3b0f428af6ac6d27597cfb6b915eaa0b15 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Fri, 5 May 2017 11:42:02 -0400 Subject: [PATCH] =?UTF-8?q?Slightly=20reduce=20the=20non-contact=20cell=20?= =?UTF-8?q?heights=20in=20=E2=80=9Cnew=201:1=20conversation=E2=80=9D=20vie?= =?UTF-8?q?w.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit // FREEBIE --- .../MessageComposeTableViewController.m | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Signal/src/ViewControllers/MessageComposeTableViewController.m b/Signal/src/ViewControllers/MessageComposeTableViewController.m index 39e949e1a..20570c337 100644 --- a/Signal/src/ViewControllers/MessageComposeTableViewController.m +++ b/Signal/src/ViewControllers/MessageComposeTableViewController.m @@ -232,7 +232,7 @@ NS_ASSUME_NONNULL_BEGIN cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator; return cell; } - customRowHeight:[ContactTableViewCell rowHeight] + customRowHeight:kActionCellHeight actionBlock:^{ NewNonContactConversationViewController *viewController = [NewNonContactConversationViewController new]; @@ -250,7 +250,7 @@ NS_ASSUME_NONNULL_BEGIN cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator; return cell; } - customRowHeight:[ContactTableViewCell rowHeight] + customRowHeight:kActionCellHeight actionBlock:^{ [weakSelf presentInviteFlow]; }]]; @@ -291,7 +291,7 @@ NS_ASSUME_NONNULL_BEGIN cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator; return cell; } - customRowHeight:[ContactTableViewCell rowHeight] + customRowHeight:kActionCellHeight actionBlock:^{ [weakSelf sendTextToPhoneNumber:phoneNumber]; }]]; @@ -347,7 +347,7 @@ NS_ASSUME_NONNULL_BEGIN cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator; return cell; } - customRowHeight:[ContactTableViewCell rowHeight] + customRowHeight:kActionCellHeight actionBlock:^{ [weakSelf sendTextToPhoneNumber:phoneNumber.toE164]; }]]; @@ -367,7 +367,7 @@ NS_ASSUME_NONNULL_BEGIN cell.selectionStyle = UITableViewCellSelectionStyleNone; return cell; } - customRowHeight:[ContactTableViewCell rowHeight] + customRowHeight:kActionCellHeight actionBlock:nil]]; } @@ -384,7 +384,7 @@ NS_ASSUME_NONNULL_BEGIN cell.selectionStyle = UITableViewCellSelectionStyleNone; return cell; } - customRowHeight:[ContactTableViewCell rowHeight] + customRowHeight:kActionCellHeight actionBlock:nil]]; }