aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-11-02 10:51:02 +0100
committerdec05eba <dec05eba@protonmail.com>2021-11-02 10:51:02 +0100
commit09d8b9895c7001f991d2aab7a75e8b573edb086f (patch)
tree2d8ba1af86561c67cdf4f2020f132d1cd11696f1 /src
parentbb80d168af2c5e36903dd61473fdbd3840846d7f (diff)
Remove 'latest chapter' for mangadex because its for any language
Diffstat (limited to 'src')
-rw-r--r--src/plugins/Mangadex.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/plugins/Mangadex.cpp b/src/plugins/Mangadex.cpp
index 3632ed5..848471f 100644
--- a/src/plugins/Mangadex.cpp
+++ b/src/plugins/Mangadex.cpp
@@ -180,23 +180,6 @@ namespace QuickMedia {
description += "Status: " + status_json.asString();
}
- /* Commented out because its broken on mangadex. TODO: Uncomment when mangadex fixes this
- const Json::Value &updated_at_json = attributes_json["updatedAt"];
- if(updated_at_json.isString()) {
- if(!description.empty())
- description += '\n';
- const time_t unix_time = iso_utc_to_unix_time(updated_at_json.asCString());
- description += "Updated: " + unix_time_to_local_time_str(unix_time);
- }
- */
-
- const Json::Value &last_chapter_json = attributes_json["lastChapter"];
- if(last_chapter_json.isString()) {
- if(!description.empty())
- description += '\n';
- description += "Last chapter: " + last_chapter_json.asString();
- }
-
const Json::Value &description_json = attributes_json["description"];
if(description_json.isObject()) {
const Json::Value &en_json = description_json["en"];