mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Only set a comic as reading if it has been opened beyod the cover.
This commit is contained in:
parent
82cfdfdf30
commit
45e44fa54f
@ -695,7 +695,7 @@ void DBHelper::updateProgress(qulonglong libraryId, const ComicInfo &comicInfo)
|
||||
|
||||
ComicDB comic = DBHelper::loadComic(comicInfo.id,db);
|
||||
comic.info.currentPage = comicInfo.currentPage;
|
||||
comic.info.hasBeenOpened = true;
|
||||
comic.info.hasBeenOpened = comicInfo.currentPage > 0 || comic.info.hasBeenOpened;
|
||||
comic.info.read = comic.info.read || comic.info.currentPage == comic.info.numPages;
|
||||
|
||||
DBHelper::updateReadingRemoteProgress(comic.info,db);
|
||||
|
Loading…
x
Reference in New Issue
Block a user