Skip to content

Commit

Permalink
Revert "IOS-7870: Infinite loop when a link with mega scheme return d…
Browse files Browse the repository at this point in the history
…efault url type"

This reverts commit aab5dd5.
  • Loading branch information
gmagpayo committed Nov 29, 2023
1 parent aab5dd5 commit cd18203
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions iMEGA/Utils/Categories/NSURL+MNZCategory.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
@implementation NSURL (MNZCategory)

- (void)mnz_presentSafariViewController {
if ([self.scheme.lowercaseString isEqualToString:@"mega"]) {
MEGALogWarning(@"Link %@ is not supported by the app", self);
return;
}
if (!([self.scheme.lowercaseString isEqualToString:@"http"] || [self.scheme.lowercaseString isEqualToString:@"https"])) {
[UIApplication.sharedApplication openURL:self options:@{} completionHandler:^(BOOL success) {
if (success) {
Expand Down

0 comments on commit cd18203

Please sign in to comment.