mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 19:27:25 +01:00
Fix for #187?
This commit is contained in:
parent
dc80a5ffbd
commit
09902566ad
@ -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 New Issue
Block a user