Switch to coil from Glide (#423)

* initial coil switch

* more coil changes

* fix extensions icons

* remove last of glide

* adjust local manga to actually update the covers as soon as you set it.  Also adjusts the large cover and share

* edit custom covers of a manga is now immediately reflected

* fix edit covers submit not automatically submitting
fix edit covers choosing cover not showing the selection in dialog

* fix setting custom cover not reloading when going back

* get gif's working

* run ktlint
fix setting custom cover to updated when returning back to details

* fix non uniformed covers

* get images working on resumes

* add size to cover cache setting

* remove log statement

* remove set last cover date

* put covers into cache when refresh enabled

* fix comment
This commit is contained in:
Carlos 2020-05-16 23:35:16 -04:00 committed by GitHub
parent d99f4d1fac
commit 4d860c9396
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 626 additions and 912 deletions

View file

@ -47,8 +47,8 @@ class LocalSource(private val context: Context) : CatalogueSource {
return null
}
val cover = File("${dir.absolutePath}/${manga.url}", COVER_NAME)
if (cover.exists()) cover.delete()
// It might not exist if using the external SD card
cover.parentFile?.mkdirs()
input.use {
cover.outputStream().use {