fix
This commit is contained in:
parent
1b61f97fae
commit
4388fb03ff
1 changed files with 3 additions and 1 deletions
|
|
@ -63,7 +63,9 @@ List<Source> _searchJsSources(Directory dir) {
|
|||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/javascript/${sourceJson["pkgPath"] ?? sourceJson["pkgName"]}";
|
||||
if (langs?.isNotEmpty ?? false) {
|
||||
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 {
|
||||
sourceList.add(source);
|
||||
|
|
|
|||
Loading…
Reference in a new issue