mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-18 21:22:10 +00:00
Update uYouPlusSettings.xm
This commit is contained in:
parent
7ee44740b5
commit
bb2400e505
1 changed files with 14 additions and 0 deletions
|
|
@ -64,6 +64,20 @@ 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];
|
||||
|
|
|
|||
Loading…
Reference in a new issue