Explorar o código

VLCAppDelegate: Return true when URL is handled properly

Soomin Lee %!s(int64=6) %!d(string=hai) anos
pai
achega
475ceb08f5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Sources/VLCAppDelegate.m

+ 1 - 1
Sources/VLCAppDelegate.m

@@ -179,7 +179,7 @@ didFailToContinueUserActivityWithType:(NSString *)userActivityType
     for (id<VLCURLHandler> handler in URLHandlers.handlers) {
         if ([handler canHandleOpenWithUrl:url options:options]) {
             if ([handler performOpenWithUrl:url options:options]) {
-                break;
+                return YES;
             }
         }
     }