mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 10:51:17 +00:00
fix generate multiple langage for JS source
This commit is contained in:
@@ -63,9 +63,10 @@ class Source {
|
||||
dateFormatLocale = json['dateFormatLocale'] ?? "";
|
||||
hasCloudflare = json['hasCloudflare'] ?? false;
|
||||
iconUrl = json['iconUrl'] ?? "";
|
||||
id = (json['id'] ?? sourceCodeLang == 0
|
||||
? 'mangayomi-"${json['lang'] ?? ""}"."${json['name'] ?? ""}"'
|
||||
: 'mangayomi-js-"${json['lang'] ?? ""}"."${json['name'] ?? ""}"')
|
||||
id = (json['id'] ??
|
||||
(sourceCodeLang == 0
|
||||
? 'mangayomi-"${json['lang'] ?? ""}"."${json['name'] ?? ""}"'
|
||||
: 'mangayomi-js-"${json['lang'] ?? ""}"."${json['name'] ?? ""}"'))
|
||||
.hashCode;
|
||||
isFullData = json['isFullData'] ?? false;
|
||||
isManga = json['isManga'] ?? false;
|
||||
|
||||
Reference in New Issue
Block a user