个播关闭礼物值时清除礼物值,坑位UI优化
This commit is contained in:
@@ -114,6 +114,9 @@
|
||||
if (roomInfo.type == RoomType_Anchor) {
|
||||
[self.contributionButton setTitle:@"主播榜" forState:UIControlStateNormal];
|
||||
self.anchorGiftValueView.hidden = !roomInfo.showGiftValue;
|
||||
if (!roomInfo.showGiftValue) {
|
||||
self.anchorGiftValueView.giftValue = 0;
|
||||
}
|
||||
} else {
|
||||
[self.contributionButton setTitle:@"房间榜" forState:UIControlStateNormal];
|
||||
self.anchorGiftValueView.hidden = YES;
|
||||
|
Reference in New Issue
Block a user