牌照房小时榜和播放音乐的按钮入口重合
This commit is contained in:
@@ -830,7 +830,7 @@
|
||||
if (currentUserModel) {
|
||||
if (!self.musicEnterButton.superview) {
|
||||
[self addSubview:self.musicEnterButton];
|
||||
CGFloat topOffY = self.delegate.getRoomInfo.type == RoomType_Anchor ? (kNavigationHeight+ 4 + 22 + 18) : (kNavigationHeight+ 4);
|
||||
CGFloat topOffY = self.delegate.getRoomInfo.type == RoomType_Anchor || self.delegate.getRoomInfo.isPermitRoom == PermitRoomType_Licnese ? (kNavigationHeight+ 4 + 22 + 18) : (kNavigationHeight+ 4);
|
||||
[self.musicEnterButton mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.right.mas_equalTo(0).offset(8);
|
||||
make.top.mas_equalTo(topOffY);
|
||||
@@ -1462,7 +1462,7 @@
|
||||
if (currentUserModel) {
|
||||
if (!self.musicEnterButton.superview) {
|
||||
[self addSubview:self.musicEnterButton];
|
||||
CGFloat topOffY = self.delegate.getRoomInfo.type == RoomType_Anchor ? (kNavigationHeight+ 4 + 22 + 18) : (kNavigationHeight+ 4);
|
||||
CGFloat topOffY = (self.delegate.getRoomInfo.type == RoomType_Anchor || self.delegate.getRoomInfo.isPermitRoom == PermitRoomType_Licnese) ? (kNavigationHeight+ 4 + 22 + 18) : (kNavigationHeight+ 4);
|
||||
[self.musicEnterButton mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.right.mas_equalTo(0).offset(8);
|
||||
make.top.mas_equalTo(topOffY);
|
||||
|
Reference in New Issue
Block a user