Skip to content

Commit

Permalink
feat: fix setting clear image cache ui bg
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxwin-z committed Apr 30, 2022
1 parent 03fb9c2 commit 54b4c0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions newsmth/more/SMSettingViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -731,9 +731,9 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
}

if (cellType == CellTypeClearCache) {
_activityIndicatorForClearCache.hidden = YES;
_cellForClearCache.detailTextLabel.text = @"清理中...";
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0), ^{
_activityIndicatorForClearCache.hidden = YES;
_cellForClearCache.detailTextLabel.text = @"";
[[XImageViewCache sharedInstance] clearCache];
dispatch_async(dispatch_get_main_queue(), ^{
_cellForClearCache.detailTextLabel.text = @"0";
Expand Down

0 comments on commit 54b4c0d

Please sign in to comment.