mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-27 16:26:29 +03:00
Fix for #187?
This commit is contained in:
parent
dc80a5ffbd
commit
09902566ad
2 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,7 @@ class CatalogueGridHolder(private val view: View, private val adapter: Catalogue
|
||||||
.load(if (headers != null) GlideUrl(url, headers) else url)
|
.load(if (headers != null) GlideUrl(url, headers) else url)
|
||||||
.diskCacheStrategy(DiskCacheStrategy.SOURCE)
|
.diskCacheStrategy(DiskCacheStrategy.SOURCE)
|
||||||
.centerCrop()
|
.centerCrop()
|
||||||
|
.placeholder(android.R.color.transparent)
|
||||||
.into(view.thumbnail)
|
.into(view.thumbnail)
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -63,6 +63,7 @@ class LibraryHolder(private val view: View, adapter: LibraryCategoryAdapter, lis
|
||||||
.diskCacheStrategy(DiskCacheStrategy.RESULT)
|
.diskCacheStrategy(DiskCacheStrategy.RESULT)
|
||||||
.centerCrop()
|
.centerCrop()
|
||||||
.signature(StringSignature(it.lastModified().toString()))
|
.signature(StringSignature(it.lastModified().toString()))
|
||||||
|
.placeholder(android.R.color.transparent)
|
||||||
.into(itemView.thumbnail)
|
.into(itemView.thumbnail)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue