瀏覽代碼

VLCAppDelegate: Return true when URL is handled properly

Soomin Lee 5 年之前
父節點
當前提交
475ceb08f5
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
             }
         }
     }