From 936aa5842d5affeaade4b26fdffc39fe12e082fe Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Fri, 15 Mar 2019 13:28:28 -0400 Subject: [PATCH] Clean up ahead of PR. --- .../ConversationView/Cells/OWSMessageBubbleView.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageBubbleView.m b/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageBubbleView.m index fb6dcaa6a..eee75e651 100644 --- a/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageBubbleView.m +++ b/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageBubbleView.m @@ -990,14 +990,14 @@ const UIDataDetectorTypes kOWSAllowedDataDetectorTypes UILabel *label = [UILabel new]; label.text = NSLocalizedString( @"ATTACHMENT_DOWNLOADING_STATUS_FAILED", @"Status label when an attachment download has failed."); - label.font = UIFont.ows_dynamicTypeCaption1Font; - label.textColor = Theme.primaryColor; + label.font = UIFont.ows_dynamicTypeBodyFont; + label.textColor = Theme.secondaryColor; label.numberOfLines = 0; label.lineBreakMode = NSLineBreakByWordWrapping; label.textAlignment = NSTextAlignmentCenter; label.backgroundColor = self.bubbleColor; [bodyMediaView addSubview:label]; - [label autoPinEdgesToSuperviewEdges]; + [label autoPinEdgesToSuperviewMargins]; [label setContentHuggingLow]; [label setCompressionResistanceLow]; }