修改了礼物面板送礼物按钮的效果
This commit is contained in:
@@ -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) {//贵族等级未达到礼物等级
|
||||
|
Reference in New Issue
Block a user