Improve library search, fix a few edge cases

This commit is contained in:
Jobobby04
2022-07-26 16:21:30 -04:00
parent b3720cd241
commit a44f7db3c6
5 changed files with 114 additions and 65 deletions
@@ -15,6 +15,12 @@ class TrackRepositoryImpl(
manga_syncQueries.getTracks(trackMapper)
}
}
override suspend fun getTracksByMangaIds(mangaIds: List<Long>): List<Track> {
return handler.awaitList {
manga_syncQueries.getTracksByMangaIds(mangaIds, trackMapper)
}
}
// SY <--
override suspend fun getTracksByMangaId(mangaId: Long): List<Track> {