PK面板麦序的显示
This commit is contained in:
@@ -293,17 +293,17 @@
|
||||
victoryStr = @"平局";
|
||||
NSString * resultScale = [NSString stringWithFormat:@"%@:%@",[NSString stringWithFormat:@"%lld", team.score],[NSString stringWithFormat:@"%lld", team.score]];
|
||||
NSString * result = [NSString stringWithFormat:@"本场PK结果:%@!\n PK值%@",victoryStr, resultScale];
|
||||
[attribute appendAttributedString:[self createTextAttribute:result color:[ThemeColor mainTextColor] font:kRoomMessageDefalutFont]];
|
||||
[attribute appendAttributedString:[self createTextAttribute:result color:[ThemeColor messageTextColor] font:kRoomMessageDefalutFont]];
|
||||
}else{
|
||||
if (team.protecScore > 0) {
|
||||
NSString * resultScale = [NSString stringWithFormat:@"%@:%@",[NSString stringWithFormat:@"%lld", team.score],[NSString stringWithFormat:@"%lld", team.score]];
|
||||
victoryStr = @"平局";
|
||||
NSString * result = [NSString stringWithFormat:@"本场PK结果:%@!\n PK值%@",victoryStr, resultScale];
|
||||
[attribute appendAttributedString:[self createTextAttribute:result color:[ThemeColor mainTextColor] font:kRoomMessageDefalutFont]];
|
||||
[attribute appendAttributedString:[self createTextAttribute:result color:[ThemeColor messageTextColor] font:kRoomMessageDefalutFont]];
|
||||
}else{
|
||||
victoryStr = @"平局";
|
||||
NSString * result = [NSString stringWithFormat:@"本场PK结果:%@!\n PK值%@",victoryStr, @"0:0"];
|
||||
[attribute appendAttributedString:[self createTextAttribute:result color:[ThemeColor mainTextColor] font:kRoomMessageDefalutFont]];
|
||||
[attribute appendAttributedString:[self createTextAttribute:result color:[ThemeColor messageTextColor] font:kRoomMessageDefalutFont]];
|
||||
}
|
||||
}
|
||||
}else{
|
||||
|
Reference in New Issue
Block a user