Skip to content

Commit bef8d53

Browse files
committed
Revert "IOS-7870: Infinite loop when a link with mega scheme return default url type"
This reverts commit aab5dd5.
1 parent 032aa93 commit bef8d53

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

iMEGA/Utils/Categories/NSURL+MNZCategory.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
@implementation NSURL (MNZCategory)
1616

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

0 commit comments

Comments
 (0)