编辑心愿礼物会多出一个礼物的问题

This commit is contained in:
fengshuo
2022-10-27 18:10:18 +08:00
parent 69e537c882
commit 7e1f5d743d
4 changed files with 48 additions and 19 deletions

View File

@@ -1701,6 +1701,11 @@
make.size.mas_equalTo(CGSizeMake(81, 30));
}];
}
if (self.delegate.getRoomInfo.roomModeType == RoomModeType_Open_Blind) {
self.wishGiftView.hidden = YES;
}
} roomUid:roomUid];
} else {
if (self.wishGiftView.superview) {
@@ -1745,6 +1750,15 @@
}];
}
[self.wishGiftVC getWishGiftListSuccess:array];
if (self.delegate.getRoomInfo.roomModeType == RoomModeType_Open_Blind) {
self.wishGiftView.hidden = YES;
}
} else if (attachment.second == Custom_Message_Sub_Wish_Gift_Close) {
if (!self.wishGiftView.superview) {
[self.wishGiftVC getWishGiftListSuccess:@[]];
[self.wishGiftView removeFromSuperview];
}
}
if (attachment.second == Custom_Message_Sub_Wish_Gift_Open) {