Minor fixes

This commit is contained in:
len
2016-05-26 16:03:55 +02:00
parent 12d6919421
commit 4e784cd7c3
4 changed files with 7 additions and 3 deletions

View File

@@ -71,7 +71,7 @@ fun syncChaptersWithSource(db: DatabaseHelper,
val c = toAdd[i]
c.date_fetch = now++
// Try to mark already read chapters as read when the source deletes them
if (c.chapter_number != -1f && c.chapter_number in deletedReadChapterNumbers) {
if (c.isRecognizedNumber && c.chapter_number in deletedReadChapterNumbers) {
c.read = true
readded++
}