diff --git a/Shadow.dylib/hooks/LSApplicationWorkspace.x b/Shadow.dylib/hooks/LSApplicationWorkspace.x index 40fa0d5..3efd12f 100644 --- a/Shadow.dylib/hooks/LSApplicationWorkspace.x +++ b/Shadow.dylib/hooks/LSApplicationWorkspace.x @@ -103,7 +103,7 @@ } - (NSArray *)applicationsAvailableForHandlingURLScheme:(NSString *)urlScheme { - if(!isCallerTweak() && [_shadow isURLSchemeRestricted:urlScheme]) { + if(!isCallerTweak() && [_shadow isSchemeRestricted:urlScheme]) { return @[]; } @@ -133,7 +133,7 @@ NSMutableArray* result_filtered = [result mutableCopy]; for(NSString* scheme in result) { - if([_shadow isURLSchemeRestricted:scheme]) { + if([_shadow isSchemeRestricted:scheme]) { [result_filtered removeObject:scheme]; } } @@ -151,7 +151,7 @@ NSMutableArray* result_filtered = [result mutableCopy]; for(NSString* scheme in result) { - if([_shadow isURLSchemeRestricted:scheme]) { + if([_shadow isSchemeRestricted:scheme]) { [result_filtered removeObject:scheme]; } }