mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-05 00:15:08 +01:00
Set source id when inserting to db (#8300)
This commit is contained in:
parent
1704dc062d
commit
187e9f94aa
@ -11,7 +11,7 @@ class NetworkToLocalManga(
|
||||
val localManga = getManga(manga.url, sourceId)
|
||||
return when {
|
||||
localManga == null -> {
|
||||
val id = insertManga(manga)
|
||||
val id = insertManga(manga.copy(source = sourceId))
|
||||
manga.copy(id = id!!)
|
||||
}
|
||||
!localManga.favorite -> {
|
||||
|
Loading…
Reference in New Issue
Block a user