add novel support

This commit is contained in:
Schnitzel5
2024-11-25 22:55:23 +01:00
parent d9a66b7651
commit 981833cac8
28 changed files with 5836 additions and 164 deletions

View File

@@ -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;
itemType = json['itemType'] ?? ItemType.manga;