mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-21 10:18:46 -04:00
Fix FLEX (YTLitePlus.xm)
This commit is contained in:

committed by
GitHub

parent
f855d02462
commit
2600ee6ff6
@@ -40,17 +40,15 @@ static NSString *accessGroupID() {
|
|||||||
- (BOOL)application:(UIApplication *)application
|
- (BOOL)application:(UIApplication *)application
|
||||||
didFinishLaunchingWithOptions:(NSDictionary<UIApplicationLaunchOptionsKey, id> *)launchOptions {
|
didFinishLaunchingWithOptions:(NSDictionary<UIApplicationLaunchOptionsKey, id> *)launchOptions {
|
||||||
BOOL didFinishLaunching = %orig;
|
BOOL didFinishLaunching = %orig;
|
||||||
|
if (IsEnabled(@"flex_enabled")) {
|
||||||
if (IsEnabled(@"flex_enabled")) {
|
[[%c(FLEXManager) performSelector:@selector(sharedManager)] performSelector:@selector(showExplorer)];
|
||||||
[[FLEXManager sharedManager] showExplorer];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return didFinishLaunching;
|
return didFinishLaunching;
|
||||||
}
|
}
|
||||||
- (void)appWillResignActive:(id)arg1 {
|
- (void)appWillResignActive:(id)arg1 {
|
||||||
%orig;
|
%orig;
|
||||||
if (IsEnabled(@"flex_enabled")) {
|
if (IsEnabled(@"flex_enabled")) {
|
||||||
[[FLEXManager sharedManager] showExplorer];
|
[[%c(FLEXManager) performSelector:@selector(sharedManager)] performSelector:@selector(showExplorer)];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
Reference in New Issue
Block a user