mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 02:41:39 +00:00
Merge branch 'prop/notes'
This commit is contained in:
@@ -12,7 +12,8 @@ const mangayomiSources = [{
|
||||
"dateFormatLocale": "",
|
||||
"pkgPath": "novel/src/en/novelupdates.js",
|
||||
"isNsfw": false,
|
||||
"hasCloudflare": true
|
||||
"hasCloudflare": true,
|
||||
"notes": "This extension requires you to login to view the chapters!"
|
||||
}];
|
||||
|
||||
class DefaultExtension extends MProvider {
|
||||
|
||||
@@ -37,6 +37,8 @@ class Source {
|
||||
|
||||
int? sourceCodeLanguage;
|
||||
|
||||
String? notes;
|
||||
|
||||
Source({
|
||||
this.id = null,
|
||||
this.name = "",
|
||||
@@ -57,6 +59,7 @@ class Source {
|
||||
this.appMinVerReq = "0.5.0",
|
||||
this.additionalParams = "",
|
||||
this.sourceCodeLanguage = 0,
|
||||
this.notes = "",
|
||||
});
|
||||
Source.fromJson(Map<String, dynamic> json) {
|
||||
final sourceCodeLang = json['sourceCodeLanguage'] ?? 0;
|
||||
@@ -84,6 +87,7 @@ class Source {
|
||||
version = json['version'] ?? "";
|
||||
additionalParams = json['additionalParams'] ?? "";
|
||||
sourceCodeLanguage = sourceCodeLang;
|
||||
notes = json['notes'] ?? "";
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
@@ -107,6 +111,7 @@ class Source {
|
||||
"appMinVerReq": appMinVerReq,
|
||||
"additionalParams": additionalParams,
|
||||
"sourceCodeLanguage": sourceCodeLanguage,
|
||||
"notes": notes,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user