补充key
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
}
|
||||
|
||||
- (void)configWithDetail:(KBShopThemeDetailModel *)detail {
|
||||
NSString *title = detail.themeName.length ? detail.themeName : @"Dopamine";
|
||||
NSString *title = detail.themeName.length ? detail.themeName : @"";
|
||||
NSString *download = detail.themeDownload.length ? detail.themeDownload : @"0";
|
||||
NSString *downloadText = [NSString stringWithFormat:@"%@: %@", KBLocalized(@"Download"), download];
|
||||
self.leftLabel.text = title;
|
||||
@@ -72,7 +72,7 @@
|
||||
_leftLabel = [UILabel new];
|
||||
_leftLabel.textColor = [UIColor colorWithHex:KBBlackValue];
|
||||
_leftLabel.font = [KBFont medium:16];
|
||||
_leftLabel.text = @"Dopamine";
|
||||
_leftLabel.text = @"";
|
||||
}
|
||||
return _leftLabel;
|
||||
}
|
||||
@@ -82,7 +82,7 @@
|
||||
_rightLabel.textColor = [UIColor colorWithHex:KBColorValue];
|
||||
_rightLabel.font = [KBFont regular:13];
|
||||
_rightLabel.textAlignment = NSTextAlignmentRight;
|
||||
_rightLabel.text = @"Download: 1 Million";
|
||||
_rightLabel.text = [NSString stringWithFormat:@"%@: 0", KBLocalized(@"Download")];
|
||||
}
|
||||
return _rightLabel;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user