From b30bfec21f10e0846cb6b435fba7febc5a0f6bfd Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Wed, 19 Sep 2018 15:02:23 -0400 Subject: [PATCH] Fix contact offer button margins. --- .../ConversationView/Cells/OWSContactOffersCell.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Signal/src/ViewControllers/ConversationView/Cells/OWSContactOffersCell.m b/Signal/src/ViewControllers/ConversationView/Cells/OWSContactOffersCell.m index 1d9356b75..d6c7b12f3 100644 --- a/Signal/src/ViewControllers/ConversationView/Cells/OWSContactOffersCell.m +++ b/Signal/src/ViewControllers/ConversationView/Cells/OWSContactOffersCell.m @@ -100,6 +100,7 @@ NS_ASSUME_NONNULL_BEGIN button.titleLabel.textAlignment = NSTextAlignmentCenter; button.layer.cornerRadius = 4.f; [button addTarget:self action:selector forControlEvents:UIControlEventTouchUpInside]; + button.contentEdgeInsets = UIEdgeInsetsMake(0, 10.f, 0, 10.f); return button; }