Commit 914f9077 by pierce

fixed bugs

parent 591b10a1
...@@ -245,6 +245,8 @@ ...@@ -245,6 +245,8 @@
make.width.mas_equalTo(37); make.width.mas_equalTo(37);
}]; }];
} else { } else {
[self.genderAndAgeBtn setTitle:nil forState:UIControlStateNormal];
if (userModel.sex.integerValue != 0 && userModel.sex.integerValue != 1) { if (userModel.sex.integerValue != 0 && userModel.sex.integerValue != 1) {
self.genderAndAgeBtn.hidden = YES; self.genderAndAgeBtn.hidden = YES;
} }
......
...@@ -612,7 +612,7 @@ FUSLinkMicUserListDelegate ...@@ -612,7 +612,7 @@ FUSLinkMicUserListDelegate
self.popularView = [[FUSPopularProgressView alloc] initWithFrame:CGRectMake(12, self.headView.bottom, 48, 48)]; self.popularView = [[FUSPopularProgressView alloc] initWithFrame:CGRectMake(12, self.headView.bottom, 48, 48)];
__weak typeof(self) weakSelf = self; __weak typeof(self) weakSelf = self;
self.popularView.tapPopularViewHandler = ^{ self.popularView.tapPopularViewHandler = ^{
[weakSelf fus_showAudiencePopViewStartWithContribute:YES]; [weakSelf fus_headViewClickHeatPower];
}; };
[[self fus_viewWithLayer:FUSLiveFunctionLayerRoomInfos] addSubview:self.popularView]; [[self fus_viewWithLayer:FUSLiveFunctionLayerRoomInfos] addSubview:self.popularView];
} }
...@@ -979,7 +979,7 @@ FUSLinkMicUserListDelegate ...@@ -979,7 +979,7 @@ FUSLinkMicUserListDelegate
self.pusherPopularView = [[FUSPopularProgressView alloc] initWithFrame:CGRectMake(12, self.pusherHeadView.bottom, 48, 48)]; self.pusherPopularView = [[FUSPopularProgressView alloc] initWithFrame:CGRectMake(12, self.pusherHeadView.bottom, 48, 48)];
self.pusherPopularView.tapPopularViewHandler = ^{ self.pusherPopularView.tapPopularViewHandler = ^{
[weakSelf fus_showAudiencePopViewStartWithContribute:YES]; [weakSelf fus_headViewClickHeatPower];
}; };
[self.pusherContentView addSubview:self.pusherPopularView]; [self.pusherContentView addSubview:self.pusherPopularView];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment