Clean up ahead of PRs.

pull/1/head
Matthew Chen 7 years ago
parent 3beac83a12
commit ffb1c35383

@ -439,8 +439,6 @@ NS_ASSUME_NONNULL_BEGIN
}]; }];
[self updateBubbleColor]; [self updateBubbleColor];
[self logFrameLaterWithLabel:@"----- message bubble"];
} }
- (void)updateBubbleColor - (void)updateBubbleColor
@ -1110,7 +1108,6 @@ NS_ASSUME_NONNULL_BEGIN
cellSize.width = MAX(cellSize.width, bodyMediaSize.CGSizeValue.width); cellSize.width = MAX(cellSize.width, bodyMediaSize.CGSizeValue.width);
cellSize.height += bodyMediaSize.CGSizeValue.height; cellSize.height += bodyMediaSize.CGSizeValue.height;
} else { } else {
DDLogVerbose(@"%@ ---- bodyMediaSize: %@", self.logTag, bodyMediaSize);
[textViewSizes addObject:bodyMediaSize]; [textViewSizes addObject:bodyMediaSize];
bodyMediaSize = nil; bodyMediaSize = nil;
} }
@ -1152,8 +1149,6 @@ NS_ASSUME_NONNULL_BEGIN
cellSize = CGSizeCeil(cellSize); cellSize = CGSizeCeil(cellSize);
DDLogVerbose(@"%@ ---- cellSize: %@", self.logTag, NSStringFromCGSize(cellSize));
return cellSize; return cellSize;
} }

@ -176,6 +176,7 @@ NS_ASSUME_NONNULL_BEGIN
quotedAttachmentView.backgroundColor = self.highlightColor; quotedAttachmentView.backgroundColor = self.highlightColor;
quotedAttachmentView.layer.cornerRadius = self.quotedAttachmentSize * 0.5f; quotedAttachmentView.layer.cornerRadius = self.quotedAttachmentSize * 0.5f;
// TODO: Use new icons.
UIImage *contentIcon = UIImage *contentIcon =
[UIImage imageNamed:(self.isAudioAttachment ? @"attachment_audio" : @"attachment_file")]; [UIImage imageNamed:(self.isAudioAttachment ? @"attachment_audio" : @"attachment_file")];
contentIcon = [contentIcon imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]; contentIcon = [contentIcon imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];

Loading…
Cancel
Save