From 54b4c0d3984e4cd321f1b123904804c93b8a033d Mon Sep 17 00:00:00 2001 From: Maxwin-z Date: Sat, 30 Apr 2022 13:09:56 +0800 Subject: [PATCH] feat: fix setting clear image cache ui bg --- newsmth/more/SMSettingViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newsmth/more/SMSettingViewController.m b/newsmth/more/SMSettingViewController.m index 1d5fd5f5..048bdff9 100644 --- a/newsmth/more/SMSettingViewController.m +++ b/newsmth/more/SMSettingViewController.m @@ -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";