Fix sources catalog

master
Koitharu 2 years ago
parent 6ac96747cf
commit b17ef8b6ff
Signed by: Koitharu
GPG Key ID: 676DEE768C17A9D7

@ -101,7 +101,7 @@ class MangaSourcesRepository @Inject constructor(
skipNsfwSources = settings.isNsfwContentDisabled,
sortOrder = sortOrder,
).run {
filterIsInstanceTo(ArrayList<MangaParserSource>(size))
mapNotNullTo(ArrayList(size)) { it.mangaSource as? MangaParserSource }
}
if (locale != null) {
sources.retainAll { it.locale == locale }

Loading…
Cancel
Save