mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 19:01:15 +00:00
Bato.to: Fix page list
This commit is contained in:
@@ -184,8 +184,11 @@ class Batoto extends MProvider {
|
|||||||
List<String> pagesUrl = [];
|
List<String> pagesUrl = [];
|
||||||
for (int i = 0; i < imageUrls.length; i++) {
|
for (int i = 0; i < imageUrls.length; i++) {
|
||||||
String imgUrl = imageUrls[i];
|
String imgUrl = imageUrls[i];
|
||||||
String imgAcc = imgAccList[i];
|
String imgAcc = "";
|
||||||
pagesUrl.add("$imgUrl?$imgAcc");
|
if (imgAccList.length >= (i + 1)) {
|
||||||
|
imgAcc = "?${imgAccList[i]}";
|
||||||
|
}
|
||||||
|
pagesUrl.add("$imgUrl$imgAcc");
|
||||||
}
|
}
|
||||||
|
|
||||||
return pagesUrl;
|
return pagesUrl;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import '../../../../model/source.dart';
|
import '../../../../model/source.dart';
|
||||||
|
|
||||||
const _batotoVersion = "0.0.65";
|
const _batotoVersion = "0.0.7";
|
||||||
const _batotoSourceCodeUrl =
|
const _batotoSourceCodeUrl =
|
||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/manga/src/all/batoto/batoto.dart";
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/manga/src/all/batoto/batoto.dart";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user