diff --git a/javascript/novel/src/en/novelupdates.js b/javascript/novel/src/en/novelupdates.js index 72973f8c..7351e0f8 100644 --- a/javascript/novel/src/en/novelupdates.js +++ b/javascript/novel/src/en/novelupdates.js @@ -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 { diff --git a/model/source.dart b/model/source.dart index 7c6b27e3..50eade65 100644 --- a/model/source.dart +++ b/model/source.dart @@ -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 json) { final sourceCodeLang = json['sourceCodeLanguage'] ?? 0; @@ -84,6 +87,7 @@ class Source { version = json['version'] ?? ""; additionalParams = json['additionalParams'] ?? ""; sourceCodeLanguage = sourceCodeLang; + notes = json['notes'] ?? ""; } Map toJson() { @@ -107,6 +111,7 @@ class Source { "appMinVerReq": appMinVerReq, "additionalParams": additionalParams, "sourceCodeLanguage": sourceCodeLanguage, + "notes": notes, }; } }