Fix small text usage.

pull/1/head
Matthew Chen 7 years ago
parent dc0e5a6b9c
commit 8c1362b807

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

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

@ -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)

@ -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...

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

Loading…
Cancel
Save