Bato.to: Fix page list

This commit is contained in:
kodjomoustapha
2024-02-09 15:15:40 +01:00
parent 9abc43ccc5
commit 4fc445dfe9
2 changed files with 6 additions and 3 deletions

View File

@@ -184,8 +184,11 @@ class Batoto extends MProvider {
List<String> pagesUrl = [];
for (int i = 0; i < imageUrls.length; i++) {
String imgUrl = imageUrls[i];
String imgAcc = imgAccList[i];
pagesUrl.add("$imgUrl?$imgAcc");
String imgAcc = "";
if (imgAccList.length >= (i + 1)) {
imgAcc = "?${imgAccList[i]}";
}
pagesUrl.add("$imgUrl$imgAcc");
}
return pagesUrl;

View File

@@ -1,6 +1,6 @@
import '../../../../model/source.dart';
const _batotoVersion = "0.0.65";
const _batotoVersion = "0.0.7";
const _batotoSourceCodeUrl =
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/manga/src/all/batoto/batoto.dart";