diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt index 3b090dd7b..0f43454bf 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt @@ -861,9 +861,11 @@ class MangaPresenter( .catch { logcat(LogPriority.ERROR, it) } .map { tracks -> val dbTracks = tracks.map { it.toDbTrack() } - loggedServices.map { service -> - TrackItem(dbTracks.find { it.sync_id.toLong() == service.id }, service) - } + loggedServices + // Map to TrackItem + .map { service -> TrackItem(dbTracks.find { it.sync_id.toLong() == service.id }, service) } + // Show only if the service supports this manga's source + .filter { (it.service as? EnhancedTrackService)?.accept(source!!) ?: true } } .collectLatest { trackItems -> _trackList = trackItems