key缺少,添加权限多语言
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
}
|
||||
|
||||
- (void)config:(NSString *)title {
|
||||
self.titleLabel.text = title ?: @"Recommended Skin";
|
||||
self.titleLabel.text = title ?: KBLocalized(@"Recommended Skin");
|
||||
}
|
||||
|
||||
- (UILabel *)titleLabel {
|
||||
@@ -29,7 +29,7 @@
|
||||
_titleLabel = [UILabel new];
|
||||
_titleLabel.textColor = [UIColor colorWithHex:0x1B1F1A];
|
||||
_titleLabel.font = [KBFont medium:14];
|
||||
_titleLabel.text = @"Recommended Skin";
|
||||
_titleLabel.text = KBLocalized(@"Recommended Skin");
|
||||
}
|
||||
return _titleLabel;
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ static NSString * const kMySkinCellId = @"kMySkinCellId";
|
||||
[self.collectionView kb_makeDefaultEmptyViewWithImage:nil
|
||||
title:KBLocalized(@"No data")
|
||||
detail:KBLocalized(@"Pull down to refresh")
|
||||
buttonTitle:KBLocalized(@"")
|
||||
buttonTitle:@""
|
||||
tapHandler:nil
|
||||
buttonHandler:^{ [weakSelf.collectionView.mj_header beginRefreshing]; }];
|
||||
[self.collectionView kb_setLYAutoShowEnabled:NO]; // 采用手动控制显隐
|
||||
|
||||
Reference in New Issue
Block a user