Send the cover size ratio in the comic info json.

This commit is contained in:
Luis Ángel San Martín 2018-03-13 19:08:39 +01:00
parent fd4e2ebcb0
commit 177e3ea3ba

View File

@ -35,6 +35,7 @@ QJsonObject YACReaderServerDataHelper::comicToJSON(const qulonglong libraryId, c
json["current_page"] = comic.info.currentPage;
json["num_pages"] = comic.info.numPages.toInt();
json["read"] = comic.info.read;
json["cover_size_ratio"] = comic.info.coverSizeRatio.toFloat();
return json;
}