补充key

This commit is contained in:
2026-03-07 13:43:26 +08:00
parent cbcf8c4197
commit 6327f31f11
12 changed files with 49 additions and 20 deletions

View File

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