mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-05-14 03:00:38 +00:00
fix getVideoList to return torrent results directly instead of assigning to a variable
This commit is contained in:
parent
fef6ffd65b
commit
6e776612bf
1 changed files with 2 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ Future<(List<Video>, bool, List<String>, Directory?)> getVideoList(
|
|||
episode.url,
|
||||
episode.archivePath,
|
||||
);
|
||||
result = (videos, false, [infohash ?? ""], mpvDirectory);
|
||||
return (videos, false, [infohash ?? ""], mpvDirectory);
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
@ -112,7 +112,7 @@ Future<(List<Video>, bool, List<String>, Directory?)> getVideoList(
|
|||
}
|
||||
}
|
||||
}
|
||||
result = (torrentList, false, infoHashes, mpvDirectory);
|
||||
return (torrentList, false, infoHashes, mpvDirectory);
|
||||
}
|
||||
|
||||
List<Video> list = await getExtensionService(
|
||||
|
|
|
|||
Loading…
Reference in a new issue