mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 02:41:39 +00:00
fix
This commit is contained in:
@@ -63,7 +63,9 @@ List<Source> _searchJsSources(Directory dir) {
|
|||||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/javascript/${sourceJson["pkgPath"] ?? sourceJson["pkgName"]}";
|
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/javascript/${sourceJson["pkgPath"] ?? sourceJson["pkgName"]}";
|
||||||
if (langs?.isNotEmpty ?? false) {
|
if (langs?.isNotEmpty ?? false) {
|
||||||
for (var lang in langs!) {
|
for (var lang in langs!) {
|
||||||
sourceList.add(Source.fromJson(source.toJson())..lang = lang);
|
sourceList.add(Source.fromJson(source.toJson())
|
||||||
|
..lang = lang
|
||||||
|
..id = 'mangayomi-js-"$lang"."${source.name}"'.hashCode);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
sourceList.add(source);
|
sourceList.add(source);
|
||||||
|
|||||||
Reference in New Issue
Block a user