fix: 修正房间 PK 按钮显示问题

This commit is contained in:
eggmanQQQ
2024-08-06 20:06:37 +08:00
parent bb9f933e05
commit 18949d3217

View File

@@ -409,7 +409,7 @@
self.pkButton.hidden = YES;
if ([AccountInfoStorage instance].getUid.integerValue == roomInfo.uid) {
self.baiShunGameButton.hidden = NO;
self.pkButton.hidden = roomInfo.type != RoomType_Anchor;
self.pkButton.hidden = roomInfo.type == RoomType_Anchor;
} else {
for (GuildSuperAdminInfoModel *managerInfo in self.delegate.getRoomSuperAdminList) {
if ([managerInfo.uid isEqualToString:[AccountInfoStorage instance].getUid]) {