全局配置打开关闭糖果树

This commit is contained in:
fengshuo
2021-12-11 17:02:42 +08:00
parent 6f44f06a63
commit 360525d668
7 changed files with 56 additions and 13 deletions

View File

@@ -142,6 +142,7 @@
[attribute appendAttributedString:[self createNickAtrribute:attachment.data[@"nick"] uid:uid]];
[attribute appendAttributedString:[self createTextAttribute:@"摘下糖果获得" color:[ThemeColor messageDefaultTextColor] font:kRoomMessageDefalutFont]];
[attribute appendAttributedString:[self createTextAttribute:attachment.data[@"prizeName"] color:[ThemeColor messageTextColor] font:kRoomMessageDefalutFont]];
[attribute appendAttributedString:[self createTextAttribute:[NSString stringWithFormat:@" x %@", attachment.data[@"prizeNum"]] color:[ThemeColor messageTextColor] font:kRoomMessageDefalutFont]];
return attribute;
}
#pragma mark - //