1
This commit is contained in:
@@ -107,11 +107,11 @@
|
||||
|
||||
// key_icons 逻辑与远程模式保持一致
|
||||
NSDictionary *iconShortNames = nil;
|
||||
if ([skin[@"key_icons"] isKindOfClass:NSDictionary.class]) {
|
||||
iconShortNames = skin[@"key_icons"];
|
||||
} else {
|
||||
// if ([skin[@"key_icons"] isKindOfClass:NSDictionary.class]) {
|
||||
// iconShortNames = skin[@"key_icons"];
|
||||
// } else {
|
||||
iconShortNames = [KBSkinInstallBridge defaultIconShortNames];
|
||||
}
|
||||
// }
|
||||
|
||||
NSURL *containerURL = [[NSFileManager defaultManager] containerURLForSecurityApplicationGroupIdentifier:AppGroup];
|
||||
if (!containerURL) {
|
||||
|
||||
@@ -67,8 +67,8 @@ static NSString * const kInnerTagCellId = @"kInnerTagCellId";
|
||||
}
|
||||
}
|
||||
}
|
||||
// 行高固定 32;行间距 8;上下额外增加 8 视觉留白
|
||||
return rows * 32 + (rows - 1) * 8 + 16;
|
||||
static const CGFloat kTagHeight = 24.0;
|
||||
return rows * kTagHeight + (rows - 1) * 8;
|
||||
}
|
||||
|
||||
#pragma mark - Lazy
|
||||
|
||||
@@ -17,11 +17,13 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@property (nonatomic, copy, nullable) NSString *themeDownload;
|
||||
@property (nonatomic, assign) NSInteger themeStyle;
|
||||
@property (nonatomic, copy, nullable) NSString *themePreviewImageUrl;
|
||||
@property (nonatomic, assign) BOOL themeStatus;
|
||||
@property (nonatomic, assign) NSInteger themePurchasesNumber;
|
||||
@property (nonatomic, assign) NSInteger sort;
|
||||
@property (nonatomic, assign) BOOL isFree;
|
||||
/// 是否购买
|
||||
@property (nonatomic, assign) BOOL isPurchased;
|
||||
/// 下载ZIP
|
||||
@property (nonatomic, copy, nullable) NSString *themeDownloadUrl;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
@@ -22,8 +22,8 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@property (nonatomic, copy, nullable) NSString *themeDownload;
|
||||
/// 风格类型(接口返回 themeStyle)
|
||||
@property (nonatomic, assign) NSInteger themeStyle;
|
||||
/// 是否上架
|
||||
@property (nonatomic, assign, getter=isThemeStatus) BOOL themeStatus;
|
||||
/// 是否购买
|
||||
@property (nonatomic, assign) BOOL isPurchased;
|
||||
/// 购买次数
|
||||
@property (nonatomic, assign) NSInteger themePurchasesNumber;
|
||||
/// 预览图
|
||||
|
||||
Reference in New Issue
Block a user