Merge branch 'devel' into feature/suggestions

This commit is contained in:
Koitharu
2022-02-28 18:37:49 +02:00
56 changed files with 467 additions and 268 deletions

View File

@@ -12,8 +12,7 @@ class TrackingRepository(
) {
suspend fun getNewChaptersCount(mangaId: Long): Int {
val entity = db.tracksDao.find(mangaId) ?: return 0
return entity.newChapters
return db.tracksDao.findNewChapters(mangaId) ?: 0
}
suspend fun getAllTracks(useFavourites: Boolean, useHistory: Boolean): List<MangaTracking> {