修复bug
This commit is contained in:
@@ -141,7 +141,7 @@
|
||||
self.descLabel.text = [NSString stringWithFormat:YMLocalizedString(@"XPNobleCenterEntranceView0"), value];
|
||||
self.descLabel.textColor = UIColorFromRGB(0x5E4D98);
|
||||
self.nextLevelLabel.text = nextLevelName;
|
||||
|
||||
self.descLabel.hidden = nobleInfo.currLevel >= 9;
|
||||
CGFloat margin = self.backProgressView.frame.size.width * (nobleInfo.currScore * 1.0 / (nextScore > 0 ? nextScore : 1));
|
||||
[self.currentProgressView mas_updateConstraints:^(MASConstraintMaker *make) {
|
||||
make.trailing.mas_equalTo(self.backProgressView.mas_leading).mas_offset(margin);
|
||||
|
Reference in New Issue
Block a user