Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
jjolano committed May 30, 2023
1 parent 174e5e2 commit 3a54917
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Shadow.dylib/hooks/LSApplicationWorkspace.x
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
}

- (NSArray<LSApplicationProxy *> *)applicationsAvailableForHandlingURLScheme:(NSString *)urlScheme {
if(!isCallerTweak() && [_shadow isURLSchemeRestricted:urlScheme]) {
if(!isCallerTweak() && [_shadow isSchemeRestricted:urlScheme]) {
return @[];
}

Expand Down Expand Up @@ -133,7 +133,7 @@
NSMutableArray<NSString *>* result_filtered = [result mutableCopy];

for(NSString* scheme in result) {
if([_shadow isURLSchemeRestricted:scheme]) {
if([_shadow isSchemeRestricted:scheme]) {
[result_filtered removeObject:scheme];
}
}
Expand All @@ -151,7 +151,7 @@
NSMutableArray<NSString *>* result_filtered = [result mutableCopy];

for(NSString* scheme in result) {
if([_shadow isURLSchemeRestricted:scheme]) {
if([_shadow isSchemeRestricted:scheme]) {
[result_filtered removeObject:scheme];
}
}
Expand Down

0 comments on commit 3a54917

Please sign in to comment.