This commit is contained in:
2020-06-30 02:39:01 +02:00
parent 6aba0c484e
commit 1ebf7538c5

34
Tweak.x
View File

@ -276,13 +276,13 @@ static void notificationCallback(CFNotificationCenterRef center, void *observer,
// Close folder when tapped inside
%hook SBFloatyFolderView
-(BOOL)_tapToCloseGestureRecognizer:(id)arg1 shouldReceiveTouch:(id)arg2 {
%orig;
if (enabled && tapFolderClose) {
return YES;
}
else {
return %orig;
}
%orig;
if (enabled && tapFolderClose) {
return YES;
}
else {
return %orig;
}
}
%end
@ -303,24 +303,24 @@ static void notificationCallback(CFNotificationCenterRef center, void *observer,
// iOS 9-10
%hook SBIconController
-(void)showDeveloperBuildExpirationAlertIfNecesarryFromLockscreen:(BOOL)arg1 toLauncher:(BOOL)arg2 {
if (enabled && noBetaAlert) {
if (enabled && noBetaAlert) {
}
else {
%orig;
}
}
else {
%orig;
}
}
%end
// iOS 11-13
%hook SBDeveloperBuildExpirationTrigger
-(void)showDeveloperBuildExpirationAlertIfNecesarryFromLockscreen:(BOOL)arg1 toLauncher:(BOOL)arg2 {
if (enabled && noBetaAlert) {
if (enabled && noBetaAlert) {
}
else {
%orig;
}
}
else {
%orig;
}
}
%end