mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 12:11:49 +01: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