mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-25 02:31:52 +01:00
Maybe fixed #303
This commit is contained in:
parent
4818fe1d0c
commit
4503d408df
@ -519,8 +519,8 @@ class LibraryUpdateService(
|
|||||||
val service = trackManager.getService(track.sync_id)
|
val service = trackManager.getService(track.sync_id)
|
||||||
if (service != null && service in loggedServices) {
|
if (service != null && service in loggedServices) {
|
||||||
try {
|
try {
|
||||||
service.refresh(track)
|
val newTrack = service.refresh(track)
|
||||||
db.insertTrack(track).executeAsBlocking()
|
db.insertTrack(newTrack).executeAsBlocking()
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
Timber.e(e)
|
Timber.e(e)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user