增加换肤功能
This commit is contained in:
22
TUIKit/TUIChat/UI_Classic/Cell/Reply/TUIFileReplyQuoteView.m
Normal file
22
TUIKit/TUIChat/UI_Classic/Cell/Reply/TUIFileReplyQuoteView.m
Normal file
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// TUIFileReplyQuoteView.m
|
||||
// TUIChat
|
||||
//
|
||||
// Created by harvy on 2021/11/25.
|
||||
// Copyright © 2023 Tencent. All rights reserved.
|
||||
//
|
||||
|
||||
#import "TUIFileReplyQuoteView.h"
|
||||
#import "TUIFileReplyQuoteViewData.h"
|
||||
|
||||
@implementation TUIFileReplyQuoteView
|
||||
|
||||
- (void)fillWithData:(TUIReplyQuoteViewData *)data {
|
||||
[super fillWithData:data];
|
||||
if (![data isKindOfClass:TUIFileReplyQuoteViewData.class]) {
|
||||
return;
|
||||
}
|
||||
self.textLabel.numberOfLines = 1;
|
||||
self.textLabel.lineBreakMode = NSLineBreakByTruncatingMiddle;
|
||||
}
|
||||
@end
|
||||
Reference in New Issue
Block a user