Refine appearance of quoted reply message cells.

pull/1/head
Matthew Chen 7 years ago
parent 7e921b7935
commit cac85508cc

@ -133,7 +133,6 @@ NS_ASSUME_NONNULL_BEGIN
[quotedAttachmentView setContentHuggingHigh]; [quotedAttachmentView setContentHuggingHigh];
[quotedAttachmentView setCompressionResistanceHigh]; [quotedAttachmentView setCompressionResistanceHigh];
// TODO: Consider stroking the quoted thumbnail.
if (quotedAttachmentView) { if (quotedAttachmentView) {
quotedAttachmentView.layer.borderColor = [UIColor colorWithWhite:0.f alpha:0.1f].CGColor; quotedAttachmentView.layer.borderColor = [UIColor colorWithWhite:0.f alpha:0.1f].CGColor;
quotedAttachmentView.layer.borderWidth = 1.f; quotedAttachmentView.layer.borderWidth = 1.f;
@ -150,7 +149,6 @@ NS_ASSUME_NONNULL_BEGIN
quotedAuthorLabel.font = self.quotedAuthorFont; quotedAuthorLabel.font = self.quotedAuthorFont;
// TODO: // TODO:
quotedAuthorLabel.textColor = [UIColor ows_darkGrayColor]; quotedAuthorLabel.textColor = [UIColor ows_darkGrayColor];
// = (self.isIncoming ? [UIColor colorWithRGBHex:0xd84315] : [UIColor colorWithRGBHex:0x007884]);
quotedAuthorLabel.numberOfLines = 1; quotedAuthorLabel.numberOfLines = 1;
quotedAuthorLabel.lineBreakMode = NSLineBreakByTruncatingTail; quotedAuthorLabel.lineBreakMode = NSLineBreakByTruncatingTail;
[self addSubview:quotedAuthorLabel]; [self addSubview:quotedAuthorLabel];
@ -216,7 +214,6 @@ NS_ASSUME_NONNULL_BEGIN
#pragma mark - Measurement #pragma mark - Measurement
// TODO: Class method?
- (CGSize)sizeForMaxWidth:(CGFloat)maxWidth - (CGSize)sizeForMaxWidth:(CGFloat)maxWidth
{ {
CGSize result = CGSizeZero; CGSize result = CGSizeZero;

Loading…
Cancel
Save