修复bug

This commit is contained in:
liyuhua
2023-09-01 15:57:08 +08:00
parent 7ebc65dfa0
commit 367851d971

View File

@@ -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);