mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: view to-view video
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -401,12 +401,11 @@ class Utils {
|
||||
// epId episode -> progress episode -> first episode
|
||||
EpisodeItem? episode;
|
||||
if (epId != null) {
|
||||
EpisodeItem? e = (result['data'].episodes as List).firstWhereOrNull(
|
||||
(item) => item.epId == epId,
|
||||
episode = (result['data'].episodes as List).firstWhereOrNull(
|
||||
(item) {
|
||||
return item.epId.toString() == epId.toString();
|
||||
},
|
||||
);
|
||||
if (e != null) {
|
||||
episode = e;
|
||||
}
|
||||
}
|
||||
episode ??= (result['data'].episodes as List).firstWhereOrNull(
|
||||
(item) =>
|
||||
|
||||
Reference in New Issue
Block a user