Fixed local manga covers not updating on edit
This commit is contained in:
parent
60555a2324
commit
f645ac550e
1 changed files with 1 additions and 0 deletions
|
@ -686,6 +686,7 @@ class MangaDetailsPresenter(
|
||||||
downloadManager.context.contentResolver.openInputStream(uri) ?: return false
|
downloadManager.context.contentResolver.openInputStream(uri) ?: return false
|
||||||
if (manga.source == LocalSource.ID) {
|
if (manga.source == LocalSource.ID) {
|
||||||
LocalSource.updateCover(downloadManager.context, manga, inputStream)
|
LocalSource.updateCover(downloadManager.context, manga, inputStream)
|
||||||
|
MangaImpl.setLastCoverFetch(manga.id!!, Date().time)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue