This commit is contained in:
2025-12-11 16:18:00 +08:00
parent be1d1ad70d
commit e4442afe72
4 changed files with 11 additions and 9 deletions

View File

@@ -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) {

View File

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

View File

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

View File

@@ -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;
/// 预览图