If a local manga title is blank, searching for it will add the title back

pull/2788/head
Jay 5 years ago
parent 94b82ee40e
commit fee957c367

@ -218,6 +218,10 @@ open class BrowseCataloguePresenter(
newManga.id = result.insertedId()
localManga = newManga
}
else if (localManga.title.isBlank()) {
localManga.title = sManga.title
db.insertManga(localManga).executeAsBlocking()
}
return localManga
}

Loading…
Cancel
Save