Update uYouPlusSettings.xm

This commit is contained in:
aricloverEXALT 2025-01-12 00:55:31 -06:00 committed by GitHub
parent 0a1e60788a
commit f166b3d205
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,20 +64,6 @@ SWITCH3(
);
*/
// Notifications Tab
static BOOL useDefaultStyle() {
return IS_ENABLED(@"enableNotificationIconStyle") && getNotificationIconStyle() == 0;
}
static BOOL useThinOutlineStyle() {
return IS_ENABLED(@"enableNotificationIconStyle") && getNotificationIconStyle() == 1;
}
static BOOL usePre2020Style() {
return IS_ENABLED(@"enableNotificationIconStyle") && getNotificationIconStyle() == 2;
}
static BOOL useInboxStyle() {
return IS_ENABLED(@"enableNotificationIconStyle") && getNotificationIconStyle() == 3;
}
// Cache
static NSString *GetCacheSize() { // YTLite - @dayanch96
NSString *cachePath = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES).firstObject;
NSArray *filesArray = [[NSFileManager defaultManager] subpathsOfDirectoryAtPath:cachePath error:nil];