disable carplay things cause I'm too dumb to figure out how to fix it
This commit is contained in:
18
Tweak.x
18
Tweak.x
@ -24,7 +24,7 @@ static BOOL gridSwitcher;
|
|||||||
static BOOL hideLSBatt;
|
static BOOL hideLSBatt;
|
||||||
static BOOL statusBarShowTimeLS;
|
static BOOL statusBarShowTimeLS;
|
||||||
static BOOL hideLabels;
|
static BOOL hideLabels;
|
||||||
static BOOL hideCarPlayLabels;
|
//static BOOL hideCarPlayLabels;
|
||||||
static BOOL hideFolderBadges;
|
static BOOL hideFolderBadges;
|
||||||
static BOOL hideFolderTitle;
|
static BOOL hideFolderTitle;
|
||||||
static BOOL hideFolderBG;
|
static BOOL hideFolderBG;
|
||||||
@ -41,7 +41,7 @@ static void notificationCallback(CFNotificationCenterRef center, void *observer,
|
|||||||
NSNumber *eHideLSBatt = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideLSBatt" inDomain:nsDomainString];
|
NSNumber *eHideLSBatt = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideLSBatt" inDomain:nsDomainString];
|
||||||
NSNumber *eStatusBarShowTimeLS = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"statusBarShowTimeLS" inDomain:nsDomainString];
|
NSNumber *eStatusBarShowTimeLS = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"statusBarShowTimeLS" inDomain:nsDomainString];
|
||||||
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 *eHideFolderTitle = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideFolderTitle" inDomain:nsDomainString];
|
||||||
NSNumber *eHideFolderBG = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideFolderBG" inDomain:nsDomainString];
|
NSNumber *eHideFolderBG = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideFolderBG" inDomain:nsDomainString];
|
||||||
@ -57,7 +57,7 @@ static void notificationCallback(CFNotificationCenterRef center, void *observer,
|
|||||||
hideLSBatt = (eHideLSBatt) ? [eHideLSBatt boolValue]:NO;
|
hideLSBatt = (eHideLSBatt) ? [eHideLSBatt boolValue]:NO;
|
||||||
statusBarShowTimeLS = (eStatusBarShowTimeLS) ? [eStatusBarShowTimeLS boolValue]:NO;
|
statusBarShowTimeLS = (eStatusBarShowTimeLS) ? [eStatusBarShowTimeLS boolValue]:NO;
|
||||||
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;
|
hideFolderTitle = (eHideFolderTitle) ? [eHideFolderTitle boolValue]:NO;
|
||||||
hideFolderBG = (eHideFolderBG) ? [eHideFolderBG boolValue]:NO;
|
hideFolderBG = (eHideFolderBG) ? [eHideFolderBG boolValue]:NO;
|
||||||
@ -145,7 +145,7 @@ static void notificationCallback(CFNotificationCenterRef center, void *observer,
|
|||||||
%end
|
%end
|
||||||
// HIDE NO OLDER NOTIFICATIONS END //
|
// HIDE NO OLDER NOTIFICATIONS END //
|
||||||
|
|
||||||
// QUICK ACTIONS BG START //
|
// HIDE QUICK ACTIONS BG START //
|
||||||
%hook UICoverSheetButton
|
%hook UICoverSheetButton
|
||||||
-(id)_backgroundEffectsWithBrightness:(double)arg1 {
|
-(id)_backgroundEffectsWithBrightness:(double)arg1 {
|
||||||
if (enabled && hideQuickActionsBG) {
|
if (enabled && hideQuickActionsBG) {
|
||||||
@ -156,7 +156,7 @@ static void notificationCallback(CFNotificationCenterRef center, void *observer,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
// QUICK ACTIONS BG END //
|
// HIDE QUICK ACTIONS BG END //
|
||||||
|
|
||||||
// HIDE FOLDER BADGE TEXT START //
|
// HIDE FOLDER BADGE TEXT START //
|
||||||
%hook SBIcon
|
%hook SBIcon
|
||||||
@ -353,7 +353,7 @@ static void notificationCallback(CFNotificationCenterRef center, void *observer,
|
|||||||
// HIDE CC GRABBER END //
|
// HIDE CC GRABBER END //
|
||||||
|
|
||||||
// HIDE CARPLAY LABELS START //
|
// HIDE CARPLAY LABELS START //
|
||||||
%hook CARIconView
|
/*%hook CARIconView
|
||||||
+(CGSize)maxLabelSizeForIconImageSize:(CGSize)imageSize {
|
+(CGSize)maxLabelSizeForIconImageSize:(CGSize)imageSize {
|
||||||
if (enabled && hideCarPlayLabels) {
|
if (enabled && hideCarPlayLabels) {
|
||||||
return CGSizeZero;
|
return CGSizeZero;
|
||||||
@ -362,7 +362,7 @@ static void notificationCallback(CFNotificationCenterRef center, void *observer,
|
|||||||
return %orig;
|
return %orig;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
%end
|
%end*/
|
||||||
// HIDE CARPLAY LABELS END //
|
// HIDE CARPLAY LABELS END //
|
||||||
|
|
||||||
%end // end ios13 group
|
%end // end ios13 group
|
||||||
@ -398,7 +398,7 @@ static void notificationCallback(CFNotificationCenterRef center, void *observer,
|
|||||||
// HIDE CC GRABBER END //
|
// HIDE CC GRABBER END //
|
||||||
|
|
||||||
// HIDE CARPLAY LABELS START //
|
// HIDE CARPLAY LABELS START //
|
||||||
%hook SBStarkIconView
|
/*%hook SBStarkIconView
|
||||||
+(CGSize)maxLabelSize {
|
+(CGSize)maxLabelSize {
|
||||||
if (enabled && hideCarPlayLabels) {
|
if (enabled && hideCarPlayLabels) {
|
||||||
return CGSizeZero;
|
return CGSizeZero;
|
||||||
@ -407,7 +407,7 @@ static void notificationCallback(CFNotificationCenterRef center, void *observer,
|
|||||||
return %orig;
|
return %orig;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
%end
|
%end*/
|
||||||
// HIDE CARPLAY LABELS END //
|
// HIDE CARPLAY LABELS END //
|
||||||
|
|
||||||
%end // end ios12 group
|
%end // end ios12 group
|
||||||
|
Reference in New Issue
Block a user