mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 17:15:32 +00:00
Update uYouPlusSettings.xm
This commit is contained in:
parent
17822f989d
commit
b68e6bfdaa
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue