mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-09-10 21:03:13 +02:00
If a local manga title is blank, searching for it will add the title back
This commit is contained in:
parent
94b82ee40e
commit
fee957c367
@ -218,6 +218,10 @@ open class BrowseCataloguePresenter(
|
|||||||
newManga.id = result.insertedId()
|
newManga.id = result.insertedId()
|
||||||
localManga = newManga
|
localManga = newManga
|
||||||
}
|
}
|
||||||
|
else if (localManga.title.isBlank()) {
|
||||||
|
localManga.title = sManga.title
|
||||||
|
db.insertManga(localManga).executeAsBlocking()
|
||||||
|
}
|
||||||
return localManga
|
return localManga
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user