修正审核问题,适配后端修改

This commit is contained in:
AI Health Developer
2025-04-25 15:54:30 +08:00
parent 40311a1d85
commit ff365e8ae4
21 changed files with 134 additions and 122 deletions

View File

@@ -252,7 +252,6 @@ exitCurrentRoom:(void(^)(void))exit {
} else {
make.width.height.mas_equalTo(29);
}
}];
UILabel *titleLabel_1 = [UILabel labelInitWithText:YMLocalizedString(@"Combo_0") font:kFontSemibold(14) textColor:[UIColor whiteColor]];
@@ -271,7 +270,7 @@ exitCurrentRoom:(void(^)(void))exit {
UILabel *titleLabel_2 = [UILabel labelInitWithText:YMLocalizedString(@"Combo_4") font:kFontSemibold(14) textColor:[UIColor whiteColor]];
[self addSubview:titleLabel_2];
[titleLabel_2 mas_makeConstraints:^(MASConstraintMaker *make) {
make.bottom.mas_equalTo(self.avatarImageView.mas_bottom).offset(3);
make.bottom.mas_equalTo(self.avatarImageView.mas_bottom);
make.leading.mas_equalTo(self.avatarImageView.mas_trailing).offset(5);
}];

View File

@@ -682,8 +682,10 @@ XPRoomGraffitiGiftAnimationViewDelegate
if (flagModel.roomId != roomInfo.roomId || flagModel.uid != [AccountInfoStorage instance].getUid.integerValue) {
return;
}
// combo
[[NSNotificationCenter defaultCenter] postNotificationName:@"receiveLuckGiftWinning" object:[NSString stringByRemovingRedundantZeros:@(flagModel.receiverProfit).stringValue]];
if ([flagModel.receiverUidList containsObject:@([AccountInfoStorage instance].getUid.integerValue)]) {
// combo
[[NSNotificationCenter defaultCenter] postNotificationName:@"receiveLuckGiftWinning" object:[NSString stringByRemovingRedundantZeros:@(flagModel.receiverProfit).stringValue]];
}
if (!self.hostDelegate.getRoomInfo.hasAnimationEffect) {
return;
@@ -696,7 +698,7 @@ XPRoomGraffitiGiftAnimationViewDelegate
[self loadBroveSVGAVideoItem:level.integerValue];
}
if (coins) {
// [[NSNotificationCenter defaultCenter] postNotificationName:@"receiveLuckGiftWinning" object:[NSString stringByRemovingRedundantZeros:coins.stringValue]];
[[NSNotificationCenter defaultCenter] postNotificationName:@"receiveLuckGiftWinning" object:[NSString stringByRemovingRedundantZeros:coins.stringValue]];
}
}
}