Allow user to read all read manga stats
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package tachiyomi.domain.manga.interactor
|
||||
|
||||
import tachiyomi.domain.library.model.LibraryManga
|
||||
import tachiyomi.domain.manga.repository.MangaRepository
|
||||
|
||||
class GetReadMangaNotInLibrary(
|
||||
private val mangaRepository: MangaRepository,
|
||||
) {
|
||||
|
||||
suspend fun await(): List<LibraryManga> {
|
||||
return mangaRepository.getReadMangaNotInLibrary()
|
||||
}
|
||||
}
|
||||
@@ -41,5 +41,7 @@ interface MangaRepository {
|
||||
suspend fun getAll(): List<Manga>
|
||||
|
||||
suspend fun deleteManga(mangaId: Long)
|
||||
|
||||
suspend fun getReadMangaNotInLibrary(): List<LibraryManga>
|
||||
// SY <--
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user