修改了礼物面板送礼物按钮的效果

This commit is contained in:
fengshuo
2022-03-23 19:27:30 +08:00
parent 1f3ba5bac3
commit 926e1aa66b
4 changed files with 23 additions and 20 deletions

View File

@@ -296,6 +296,7 @@
if (roomSendType == -1) {
return;
}
self.giftBarView.sendButtonIsEnable = NO;
///
[self.giftPresenter sendGift:uidString giftNum:giftNumber sendType:sendType giftId:giftId giftSource:sourceType giftType:giftInfo.giftType roomSendType:roomSendType roomUid:self.roomUid msg:@""];
} else {
@@ -371,6 +372,7 @@
}
- (void)sendGiftSuccess:(GiftReceiveInfoModel *)receiveInfo originDic:(NSDictionary *)originDic uidCount:(NSInteger)uidCount{
self.giftBarView.sendButtonIsEnable = YES;
if (receiveInfo.sourceType == GiftSourceType_Pack) {
///
[self.giftInfoView updatePackSource:receiveInfo numberUser:uidCount];
@@ -382,6 +384,7 @@
///
- (void)sendGiftFailWithCode:(NSInteger)code msg:(NSString *)msg {
self.giftBarView.sendButtonIsEnable = YES;
if (code == 31005) {//
[self showNotSufficientFundsWithToast:msg];
} else if (code == 8535) {//