Skip to content

Commit

Permalink
Improved 3.1.x compatibility with the dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhajas committed Apr 13, 2011
1 parent b717d3a commit 9256bb7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Tweak.xm
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-(void)dismissSwitcher
{
SBUIController *uicontroller = (SBUIController *)[%c(SBUIController) sharedInstance];
[uicontroller dismissSwitcher];
if([%c(SBUIController) respondsToSelector:@selector(dismissSwitcher)])
{
[uicontroller dismissSwitcher];
}
}

-(void)wakeDeviceScreen
Expand Down

0 comments on commit 9256bb7

Please sign in to comment.