From fdc4fafe7a687b5500ab587babf58c173d2bed43 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Tue, 10 Jul 2018 14:33:52 -0400 Subject: [PATCH] Tweak phone number & profile names. --- .../ConversationView/Cells/OWSMessageBubbleView.m | 4 ++-- Signal/src/ViewControllers/HomeView/HomeViewCell.m | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageBubbleView.m b/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageBubbleView.m index 626d81760..3e1a6209c 100644 --- a/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageBubbleView.m +++ b/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageBubbleView.m @@ -801,8 +801,8 @@ NS_ASSUME_NONNULL_BEGIN + (NSDictionary *)senderNameSecondaryAttributes { return @{ - NSFontAttributeName : UIFont.ows_dynamicTypeCaption2Font, - NSForegroundColorAttributeName : [ConversationStyle.bubbleTextColorIncoming colorWithAlphaComponent:0.75f], + NSFontAttributeName : self.senderNameFont.ows_italic, + NSForegroundColorAttributeName : ConversationStyle.bubbleTextColorIncoming, }; } diff --git a/Signal/src/ViewControllers/HomeView/HomeViewCell.m b/Signal/src/ViewControllers/HomeView/HomeViewCell.m index d536afff2..965c5df9e 100644 --- a/Signal/src/ViewControllers/HomeView/HomeViewCell.m +++ b/Signal/src/ViewControllers/HomeView/HomeViewCell.m @@ -431,7 +431,7 @@ NS_ASSUME_NONNULL_BEGIN // Used for profile names. - (UIFont *)nameSecondaryFont { - return [UIFont ows_dynamicTypeFootnoteFont]; + return [UIFont ows_dynamicTypeBodyFont].ows_italic; } - (NSUInteger)avatarSize