mirror of
https://github.com/YTLitePlus/YTLitePlus.git
synced 2026-01-11 22:40:20 +00:00
Fix FLEX (YTLitePlus.xm)
This commit is contained in:
parent
f855d02462
commit
2600ee6ff6
1 changed files with 4 additions and 6 deletions
|
|
@ -40,17 +40,15 @@ static NSString *accessGroupID() {
|
|||
- (BOOL)application:(UIApplication *)application
|
||||
didFinishLaunchingWithOptions:(NSDictionary<UIApplicationLaunchOptionsKey, id> *)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
|
||||
|
|
|
|||
Loading…
Reference in a new issue