处理二级评论回复用户名称显示问题
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
|
||||
NSDictionary *nameAttrs = @{
|
||||
NSFontAttributeName : [UIFont systemFontOfSize:13 weight:UIFontWeightMedium],
|
||||
NSForegroundColorAttributeName : [UIColor secondaryLabelColor]
|
||||
NSForegroundColorAttributeName : [UIColor whiteColor]
|
||||
};
|
||||
[attrName appendAttributedString:[[NSAttributedString alloc]
|
||||
initWithString:reply.userName
|
||||
@@ -106,7 +106,7 @@
|
||||
|
||||
NSDictionary *replyAttrs = @{
|
||||
NSFontAttributeName : [UIFont systemFontOfSize:13],
|
||||
NSForegroundColorAttributeName : [UIColor secondaryLabelColor]
|
||||
NSForegroundColorAttributeName : [UIColor whiteColor]
|
||||
};
|
||||
[attrName appendAttributedString:[[NSAttributedString alloc]
|
||||
initWithString:@" 回复 "
|
||||
@@ -114,7 +114,7 @@
|
||||
|
||||
NSDictionary *toUserAttrs = @{
|
||||
NSFontAttributeName : [UIFont systemFontOfSize:13],
|
||||
NSForegroundColorAttributeName : [UIColor systemBlueColor]
|
||||
NSForegroundColorAttributeName : [UIColor whiteColor]
|
||||
};
|
||||
[attrName appendAttributedString:[[NSAttributedString alloc]
|
||||
initWithString:[NSString stringWithFormat:@"@%@", reply.replyToUserName]
|
||||
|
||||
Reference in New Issue
Block a user