|
|
|
|
|
|
|
|
static BOOL hideLabels; |
|
|
static BOOL hideLabels; |
|
|
static BOOL hideCarPlayLabels; |
|
|
static BOOL hideCarPlayLabels; |
|
|
static BOOL hideFolderBadges; |
|
|
static BOOL hideFolderBadges; |
|
|
|
|
|
static BOOL hideFolderTitle; |
|
|
|
|
|
static BOOL hideFolderBG; |
|
|
//static BOOL hideStatusBarLS; |
|
|
//static BOOL hideStatusBarLS; |
|
|
static BOOL hideCCGrabber; |
|
|
static BOOL hideCCGrabber; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NSNumber *eHideLabels = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideLabels" inDomain:nsDomainString]; |
|
|
NSNumber *eHideLabels = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideLabels" inDomain:nsDomainString]; |
|
|
NSNumber *eHideCarPlayLabels = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideCarPlayLabels" inDomain:nsDomainString]; |
|
|
NSNumber *eHideCarPlayLabels = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideCarPlayLabels" inDomain:nsDomainString]; |
|
|
NSNumber *eHideFolderBadges = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideFolderBadges" inDomain:nsDomainString]; |
|
|
NSNumber *eHideFolderBadges = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideFolderBadges" inDomain:nsDomainString]; |
|
|
|
|
|
NSNumber *eHideFolderTitle = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideFolderTitle" inDomain:nsDomainString]; |
|
|
|
|
|
NSNumber *eHideFolderBG = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideFolderBG" inDomain:nsDomainString]; |
|
|
//NSNumber *eHideStatusBarLS = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideStatusBarLS" inDomain:nsDomainString]; |
|
|
//NSNumber *eHideStatusBarLS = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideStatusBarLS" inDomain:nsDomainString]; |
|
|
NSNumber *eHideCCGrabber = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideCCGrabber" inDomain:nsDomainString]; |
|
|
NSNumber *eHideCCGrabber = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideCCGrabber" inDomain:nsDomainString]; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
hideLabels = (eHideLabels) ? [eHideLabels boolValue]:NO; |
|
|
hideLabels = (eHideLabels) ? [eHideLabels boolValue]:NO; |
|
|
hideCarPlayLabels = (eHideCarPlayLabels) ? [eHideCarPlayLabels boolValue]:NO; |
|
|
hideCarPlayLabels = (eHideCarPlayLabels) ? [eHideCarPlayLabels boolValue]:NO; |
|
|
hideFolderBadges = (eHideFolderBadges) ? [eHideFolderBadges boolValue]:NO; |
|
|
hideFolderBadges = (eHideFolderBadges) ? [eHideFolderBadges boolValue]:NO; |
|
|
|
|
|
hideFolderTitle = (eHideFolderTitle) ? [eHideFolderTitle boolValue]:NO; |
|
|
|
|
|
hideFolderBG = (eHideFolderBG) ? [eHideFolderBG boolValue]:NO; |
|
|
//hideStatusBarLS = (eHideStatusBarLS) ? [eHideStatusBarLS boolValue]:NO; |
|
|
//hideStatusBarLS = (eHideStatusBarLS) ? [eHideStatusBarLS boolValue]:NO; |
|
|
hideCCGrabber = (eHideCCGrabber) ? [eHideCCGrabber boolValue]:NO; |
|
|
hideCCGrabber = (eHideCCGrabber) ? [eHideCCGrabber boolValue]:NO; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
%end |
|
|
%end |
|
|
// NO LS BATTERY END // |
|
|
// NO LS BATTERY END // |
|
|
|
|
|
|
|
|
|
|
|
// SHOW FOLDER TITLE START // |
|
|
|
|
|
%hook SBFloatyFolderView |
|
|
|
|
|
-(BOOL)_showsTitle { |
|
|
|
|
|
if (enabled && hideFolderTitle) { |
|
|
|
|
|
return NO; |
|
|
|
|
|
} |
|
|
|
|
|
else { |
|
|
|
|
|
return %orig; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
%end |
|
|
|
|
|
// SHOW FOLDER TITLE END // |
|
|
|
|
|
|
|
|
|
|
|
// HIDE FOLDER BACKGROUND START // |
|
|
|
|
|
%hook SBFolderBackgroundView |
|
|
|
|
|
-(void)layoutSubviews { |
|
|
|
|
|
%orig; |
|
|
|
|
|
if (enabled && hideFolderBG) { |
|
|
|
|
|
UIImageView * tintView = MSHookIvar<UIImageView *>(self, "_tintView"); |
|
|
|
|
|
tintView.alpha = 0; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
%end |
|
|
|
|
|
// HIDE FOLDER BACKGROUND END // |
|
|
|
|
|
|
|
|
%end // end universal group |
|
|
%end // end universal group |
|
|
|
|
|
|
|
|
// stuff that only works on iOS 13 |
|
|
// stuff that only works on iOS 13 |