skrrrt
This commit is contained in:
34
Tweak.x
34
Tweak.x
@ -276,13 +276,13 @@ static void notificationCallback(CFNotificationCenterRef center, void *observer,
|
|||||||
// Close folder when tapped inside
|
// Close folder when tapped inside
|
||||||
%hook SBFloatyFolderView
|
%hook SBFloatyFolderView
|
||||||
-(BOOL)_tapToCloseGestureRecognizer:(id)arg1 shouldReceiveTouch:(id)arg2 {
|
-(BOOL)_tapToCloseGestureRecognizer:(id)arg1 shouldReceiveTouch:(id)arg2 {
|
||||||
%orig;
|
%orig;
|
||||||
if (enabled && tapFolderClose) {
|
if (enabled && tapFolderClose) {
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return %orig;
|
return %orig;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
@ -303,24 +303,24 @@ static void notificationCallback(CFNotificationCenterRef center, void *observer,
|
|||||||
// iOS 9-10
|
// iOS 9-10
|
||||||
%hook SBIconController
|
%hook SBIconController
|
||||||
-(void)showDeveloperBuildExpirationAlertIfNecesarryFromLockscreen:(BOOL)arg1 toLauncher:(BOOL)arg2 {
|
-(void)showDeveloperBuildExpirationAlertIfNecesarryFromLockscreen:(BOOL)arg1 toLauncher:(BOOL)arg2 {
|
||||||
if (enabled && noBetaAlert) {
|
if (enabled && noBetaAlert) {
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
%orig;
|
%orig;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
// iOS 11-13
|
// iOS 11-13
|
||||||
%hook SBDeveloperBuildExpirationTrigger
|
%hook SBDeveloperBuildExpirationTrigger
|
||||||
-(void)showDeveloperBuildExpirationAlertIfNecesarryFromLockscreen:(BOOL)arg1 toLauncher:(BOOL)arg2 {
|
-(void)showDeveloperBuildExpirationAlertIfNecesarryFromLockscreen:(BOOL)arg1 toLauncher:(BOOL)arg2 {
|
||||||
if (enabled && noBetaAlert) {
|
if (enabled && noBetaAlert) {
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
%orig;
|
%orig;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user