Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (22 sloc) 0.497 kb
#import "PSWProSwitcherIcon.h"
#import "PSWController.h"
#import "PSWPreferences.h"
#import "SpringBoard+OS32.h"
#import <SpringBoard/SpringBoard.h>
%class SBIconModel;
%class SBApplicationIcon;
%hook SBApplicationIcon
- (void)launch
{
[[PSWController sharedController] setActive:NO animated:NO];
%orig;
}
%end
%subclass PSWProSwitcherIcon : SBApplicationIcon
- (void)launch
{
PSWController *vc = [PSWController sharedController];
if (!vc.isAnimating)
vc.active = !vc.active;
}
%end
Jump to Line
Something went wrong with that request. Please try again.