From b68e6bfdaab462d3fdf3b5be53c98640d4c3f247 Mon Sep 17 00:00:00 2001 From: aricloverEXALT <157071384+aricloverEXALT@users.noreply.github.com> Date: Wed, 4 Dec 2024 22:37:30 -0600 Subject: [PATCH] Update uYouPlusSettings.xm --- Sources/uYouPlusSettings.xm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/uYouPlusSettings.xm b/Sources/uYouPlusSettings.xm index af7ce41..bb05544 100644 --- a/Sources/uYouPlusSettings.xm +++ b/Sources/uYouPlusSettings.xm @@ -64,8 +64,6 @@ SWITCH3( ); */ -NSString *cacheDescription = [NSString stringWithFormat:@"%@", GetCacheSize()]; - static NSString *GetCacheSize() { // YTLite - @dayanch96 NSString *cachePath = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES).firstObject; NSArray *filesArray = [[NSFileManager defaultManager] subpathsOfDirectoryAtPath:cachePath error:nil]; @@ -332,6 +330,7 @@ extern NSBundle *uYouPlusBundle(); ]; [sectionItems addObject:appIcon]; +NSString *cacheDescription = [NSString stringWithFormat:@"%@", GetCacheSize()]; YTSettingsSectionItem *clearCache = [%c(YTSettingsSectionItem) itemWithTitle:@"Clear Cache" titleDescription:cacheDescription