If a local manga title is blank, searching for it will add the title back
This commit is contained in:
parent
94b82ee40e
commit
fee957c367
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue