From 8c1362b807b794e2b419cc3501f81adeb87d57b8 Mon Sep 17 00:00:00 2001
From: Matthew Chen <matthew@signal.org>
Date: Mon, 9 Apr 2018 16:13:48 -0400
Subject: [PATCH] Fix small text usage.

---
 Signal/src/ViewControllers/ProfileViewController.m            | 2 +-
 .../ThreadSettings/OWSConversationSettingsViewController.m    | 4 ++--
 Signal/src/views/AttachmentPointerView.swift                  | 2 +-
 Signal/src/views/GroupTableViewCell.swift                     | 2 +-
 SignalMessaging/Views/ContactTableViewCell.m                  | 4 ++--
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Signal/src/ViewControllers/ProfileViewController.m b/Signal/src/ViewControllers/ProfileViewController.m
index 440442516..eeaf5881c 100644
--- a/Signal/src/ViewControllers/ProfileViewController.m
+++ b/Signal/src/ViewControllers/ProfileViewController.m
@@ -179,7 +179,7 @@ NSString *const kProfileView_LastPresentedDate = @"kProfileView_LastPresentedDat
 
     UILabel *infoLabel = [UILabel new];
     infoLabel.textColor = [UIColor ows_darkGrayColor];
-    infoLabel.font = [UIFont ows_dynamicTypeFootnoteFont];
+    infoLabel.font = [UIFont ows_regularFontWithSize:11.f];
     infoLabel.textAlignment = NSTextAlignmentCenter;
     NSMutableAttributedString *text = [NSMutableAttributedString new];
     [text appendAttributedString:[[NSAttributedString alloc]
diff --git a/Signal/src/ViewControllers/ThreadSettings/OWSConversationSettingsViewController.m b/Signal/src/ViewControllers/ThreadSettings/OWSConversationSettingsViewController.m
index 32c4a639d..2e2fa9c7a 100644
--- a/Signal/src/ViewControllers/ThreadSettings/OWSConversationSettingsViewController.m
+++ b/Signal/src/ViewControllers/ThreadSettings/OWSConversationSettingsViewController.m
@@ -382,7 +382,7 @@ NS_ASSUME_NONNULL_BEGIN
             subtitleLabel.text
                 = NSLocalizedString(@"DISAPPEARING_MESSAGES_DESCRIPTION", @"subheading in conversation settings");
             subtitleLabel.textColor = [UIColor blackColor];
-            subtitleLabel.font = [UIFont ows_dynamicTypeFootnoteFont];
+            subtitleLabel.font = [UIFont ows_regularFontWithSize:11.f];
             subtitleLabel.numberOfLines = 0;
             subtitleLabel.lineBreakMode = NSLineBreakByWordWrapping;
             [cell.contentView addSubview:subtitleLabel];
@@ -421,7 +421,7 @@ NS_ASSUME_NONNULL_BEGIN
                             UILabel *rowLabel = strongSelf.disappearingMessagesDurationLabel;
                             [strongSelf updateDisappearingMessagesDurationLabel];
                             rowLabel.textColor = [UIColor blackColor];
-                            rowLabel.font = [UIFont ows_dynamicTypeFootnoteFont];
+                            rowLabel.font = [UIFont ows_regularFontWithSize:11.f];
                             rowLabel.lineBreakMode = NSLineBreakByTruncatingTail;
                             [topView addSubview:rowLabel];
                             [rowLabel autoVCenterInSuperview];
diff --git a/Signal/src/views/AttachmentPointerView.swift b/Signal/src/views/AttachmentPointerView.swift
index fdb22d125..d755b06ed 100644
--- a/Signal/src/views/AttachmentPointerView.swift
+++ b/Signal/src/views/AttachmentPointerView.swift
@@ -118,7 +118,7 @@ class AttachmentPointerView: UIView {
         statusLabel.numberOfLines = 2
 
         statusLabel.textColor = self.textColor
-        statusLabel.font = .ows_dynamicTypeFootnote
+        statusLabel.font = UIFont.ows_regularFont(withSize: 11.0)
 
         statusLabel.autoPinWidthToSuperview()
         statusLabel.autoPinEdge(.top, to: .bottom, of: progressView, withOffset: 4)
diff --git a/Signal/src/views/GroupTableViewCell.swift b/Signal/src/views/GroupTableViewCell.swift
index b91f2e73b..81d4f706e 100644
--- a/Signal/src/views/GroupTableViewCell.swift
+++ b/Signal/src/views/GroupTableViewCell.swift
@@ -25,7 +25,7 @@ import SignalServiceKit
 
         // Font config
         nameLabel.font = .ows_dynamicTypeBody
-        subtitleLabel.font = .ows_dynamicTypeFootnote
+        subtitleLabel.font = UIFont.ows_regularFont(withSize: 11.0)
         subtitleLabel.textColor = UIColor.ows_darkGray
 
         // Listen to notifications...
diff --git a/SignalMessaging/Views/ContactTableViewCell.m b/SignalMessaging/Views/ContactTableViewCell.m
index 85d0794b9..8d42b0441 100644
--- a/SignalMessaging/Views/ContactTableViewCell.m
+++ b/SignalMessaging/Views/ContactTableViewCell.m
@@ -83,12 +83,12 @@ const CGFloat kContactTableViewCellAvatarTextMargin = 12;
 
     _profileNameLabel = [UILabel new];
     _profileNameLabel.lineBreakMode = NSLineBreakByTruncatingTail;
-    _profileNameLabel.font = [UIFont ows_dynamicTypeFootnoteFont];
+    _profileNameLabel.font = [UIFont ows_regularFontWithSize:11.f];
     _profileNameLabel.textColor = [UIColor grayColor];
     [_nameContainerView addSubview:_profileNameLabel];
 
     _subtitle = [UILabel new];
-    _subtitle.font = [UIFont ows_dynamicTypeFootnoteFont];
+    _subtitle.font = [UIFont ows_regularFontWithSize:11.f];
     _subtitle.textColor = [UIColor ows_darkGrayColor];
     [_nameContainerView addSubview:self.subtitle];