修改了房间话题在个播房的时候显示异常的问题

This commit is contained in:
fengshuo
2022-03-15 15:23:27 +08:00
parent a36c68b14a
commit c624c86d54

View File

@@ -245,12 +245,10 @@
if (roomInfo.datingState == RoomDatingStateChangeType_Open) {
offsetY += ((58 + 5) * kScreenScale + 6 + 12 + 3);
} else if (roomInfo.type == RoomType_Anchor) {
offsetY += (120 + 5 + 6 + 20 + 3);
} else if(roomInfo.hadChangeRoomType) {
offsetY += (120 + 5 + 6 + 20 +60 + 3);
} else {
offsetY += (58 + 5 + 6 + 12 + 3 );
} else {
return;
}
}
[self.topicStackView mas_updateConstraints:^(MASConstraintMaker *make) {
make.top.mas_equalTo(offsetY);