补充key
This commit is contained in:
@@ -77,7 +77,7 @@
|
||||
}
|
||||
|
||||
- (void)configTitle:(NSString *)title currency:(NSString *)currency price:(NSString *)price strike:(nullable NSString *)strike {
|
||||
self.titleLabel.text = title.length ? title : @"1 Month";
|
||||
self.titleLabel.text = title.length ? title : KBLocalized(@"Monthly Subscription");
|
||||
self.currencyLabel.text = currency.length ? currency : @"$";
|
||||
self.priceLabel.text = price.length ? price : @"6.90";
|
||||
self.strikeLabel.hidden = (strike.length == 0);
|
||||
@@ -121,7 +121,7 @@
|
||||
- (UILabel *)titleLabel {
|
||||
if (!_titleLabel) {
|
||||
_titleLabel = [UILabel new];
|
||||
_titleLabel.text = @"1 Month";
|
||||
_titleLabel.text = KBLocalized(@"Monthly Subscription");
|
||||
_titleLabel.textColor = [UIColor colorWithHex:KBBlackValue];
|
||||
_titleLabel.font = [KBFont medium:13];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user