Skip to content

Commit e89e6b1

Browse files
Run linter script
1 parent 512de61 commit e89e6b1

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Signal/src/ViewControllers/SafetyNumberConfirmationSheet.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class SafetyNumberConfirmationSheet: UIViewController {
2828

2929
@objc @available(swift, obsoleted: 1.0)
3030
convenience init(addressesToConfirm addresses: [SignalServiceAddress], confirmationText: String, completionHandler: @escaping (Bool) -> Void) {
31-
self.init(addressesToConfirm: addresses, confirmationText: confirmationText, completionHandler:completionHandler)
31+
self.init(addressesToConfirm: addresses, confirmationText: confirmationText, completionHandler: completionHandler)
3232
}
3333

3434
init(addressesToConfirm addresses: [SignalServiceAddress],

SignalMessaging/Views/ContactCellView.m

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,15 @@ - (void)configureFontsAndColors
118118
self.accessoryLabel.font = [UIFont ows_semiboldFontWithSize:12.f];
119119

120120
self.nameLabel.textColor = self.forceDarkAppearance ? Theme.darkThemePrimaryColor : Theme.primaryTextColor;
121-
self.subtitleLabel.textColor = self.forceDarkAppearance ? Theme.darkThemeSecondaryTextAndIconColor : Theme.secondaryTextAndIconColor;
121+
self.subtitleLabel.textColor
122+
= self.forceDarkAppearance ? Theme.darkThemeSecondaryTextAndIconColor : Theme.secondaryTextAndIconColor;
122123
self.accessoryLabel.textColor = Theme.middleGrayColor;
123124

124125
if (self.nameLabel.attributedText.string.length > 0) {
125126
NSString *nameLabelText = self.nameLabel.attributedText.string;
126127
NSDictionary *updatedAttributes = @{ NSForegroundColorAttributeName : self.nameLabel.textColor };
127-
self.nameLabel.attributedText = [[NSAttributedString alloc] initWithString:nameLabelText attributes:updatedAttributes];
128+
self.nameLabel.attributedText = [[NSAttributedString alloc] initWithString:nameLabelText
129+
attributes:updatedAttributes];
128130
}
129131
}
130132

@@ -237,7 +239,8 @@ - (NSUInteger)avatarSize
237239
return self.useSmallAvatars ? kSmallAvatarSize : kStandardAvatarSize;
238240
}
239241

240-
- (void)setForceDarkAppearance:(BOOL)forceDarkAppearance {
242+
- (void)setForceDarkAppearance:(BOOL)forceDarkAppearance
243+
{
241244
if (_forceDarkAppearance != forceDarkAppearance) {
242245
_forceDarkAppearance = forceDarkAppearance;
243246
[self configureFontsAndColors];

0 commit comments

Comments
 (0)