Fix merged manga chapters and merged manga filtered scanlators
This commit is contained in:
@@ -151,5 +151,17 @@ class ChapterRepositoryImpl(
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
override suspend fun getScanlatorsByMergeId(mangaId: Long): List<String> {
|
||||
return handler.awaitList {
|
||||
chaptersQueries.getScanlatorsByMergeId(mangaId) { it.orEmpty() }
|
||||
}
|
||||
}
|
||||
|
||||
override fun getScanlatorsByMergeIdAsFlow(mangaId: Long): Flow<List<String>> {
|
||||
return handler.subscribeToList {
|
||||
chaptersQueries.getScanlatorsByMergeId(mangaId) { it.orEmpty() }
|
||||
}
|
||||
}
|
||||
// SY <--
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user