Slightly reduce the non-contact cell heights in “new 1:1 conversation” view.

// FREEBIE
This commit is contained in:
Matthew Chen 2017-05-05 11:42:02 -04:00
parent d0e26a58c3
commit 9f4b8d3b0f

View file

@ -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]];
}