Fix trackers not migrating (#7393)

This commit is contained in:
AntsyLich 2022-06-27 18:03:54 +06:00 committed by GitHub
parent 5b8cd68cf3
commit ee38671400
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,7 +176,7 @@ class SearchPresenter(
.firstOrNull { it.isTrackFrom(updatedTrack, prevDomainManga, prevSource) } .firstOrNull { it.isTrackFrom(updatedTrack, prevDomainManga, prevSource) }
if (service != null) service.migrateTrack(updatedTrack, domainManga, source) if (service != null) service.migrateTrack(updatedTrack, domainManga, source)
else track else updatedTrack
} }
insertTrack.awaitAll(tracks) insertTrack.awaitAll(tracks)
} }