diff --git a/YTLitePlus.xm b/YTLitePlus.xm index a27a8bf..9a87fdf 100644 --- a/YTLitePlus.xm +++ b/YTLitePlus.xm @@ -40,17 +40,15 @@ static NSString *accessGroupID() { - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { BOOL didFinishLaunching = %orig; - - if (IsEnabled(@"flex_enabled")) { - [[FLEXManager sharedManager] showExplorer]; + if (IsEnabled(@"flex_enabled")) { + [[%c(FLEXManager) performSelector:@selector(sharedManager)] performSelector:@selector(showExplorer)]; } - return didFinishLaunching; } - (void)appWillResignActive:(id)arg1 { %orig; - if (IsEnabled(@"flex_enabled")) { - [[FLEXManager sharedManager] showExplorer]; + if (IsEnabled(@"flex_enabled")) { + [[%c(FLEXManager) performSelector:@selector(sharedManager)] performSelector:@selector(showExplorer)]; } } %end