mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
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:
parent
d99f4d1fac
commit
4d860c9396
45 changed files with 626 additions and 912 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue