This commit is contained in:
2025-12-22 15:37:22 +08:00
parent 472e9ad341
commit 1c9ae7bc06
3 changed files with 6 additions and 4 deletions

View File

@@ -273,7 +273,7 @@ typedef NS_ENUM(NSInteger, KBSkinDetailSection) {
- (void)requestDownload {
// if (self.isProcessingAction) { return; }
// self.isProcessingAction = YES;
[KBHUD show];
NSMutableDictionary *skin = [NSMutableDictionary dictionary];
if (!skin[@"id"] && self.detailModel.themeId) {
skin[@"id"] = self.detailModel.themeId;
@@ -287,7 +287,7 @@ typedef NS_ENUM(NSInteger, KBSkinDetailSection) {
if (self.detailModel.themePreviewImageUrl.length > 0) {
skin[@"preview"] = self.detailModel.themePreviewImageUrl;
}
[KBHUD showWithStatus:@"正在下载..."];
[[KBSkinService shared] applySkinWithJSON:skin
fromViewController:self
mode:KBSkinSourceModeRemoteZip