key缺少,添加权限多语言
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
}
|
||||
|
||||
- (void)configTitle:(NSString *)title price:(NSString *)price strike:(nullable NSString *)strike {
|
||||
self.titleLabel.text = title.length ? title : @"Monthly Subscription";
|
||||
self.titleLabel.text = title.length ? title : KBLocalized(@"Monthly Subscription");
|
||||
self.priceLabel.text = price.length ? price : @"$4.49";
|
||||
self.strikeLabel.hidden = (strike.length == 0);
|
||||
if (strike.length) {
|
||||
@@ -115,7 +115,7 @@
|
||||
- (UILabel *)titleLabel {
|
||||
if (!_titleLabel) {
|
||||
_titleLabel = [UILabel new];
|
||||
_titleLabel.text = @"Monthly Subscription";
|
||||
_titleLabel.text = KBLocalized(@"Monthly Subscription");
|
||||
_titleLabel.textColor = [UIColor colorWithHex:KBBlackValue];
|
||||
_titleLabel.font = [KBFont medium:13];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user