mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-09 19:25:10 +01:00
Centercrop list in migration selection
This commit is contained in:
parent
6682c99fd1
commit
60d661fbd8
@ -8,8 +8,6 @@ import eu.davidea.flexibleadapter.items.IFlexible
|
||||
import eu.kanade.tachiyomi.data.glide.GlideApp
|
||||
import eu.kanade.tachiyomi.ui.base.holder.BaseFlexibleViewHolder
|
||||
import kotlinx.android.synthetic.main.manga_list_item.*
|
||||
import kotlinx.android.synthetic.main.manga_list_item.subtitle
|
||||
import kotlinx.android.synthetic.main.manga_list_item.title
|
||||
|
||||
class MangaHolder(
|
||||
view: View,
|
||||
@ -23,10 +21,8 @@ class MangaHolder(
|
||||
|
||||
// Update the cover.
|
||||
GlideApp.with(itemView.context).clear(cover_thumbnail)
|
||||
GlideApp.with(itemView.context)
|
||||
.load(item.manga)
|
||||
.diskCacheStrategy(DiskCacheStrategy.RESOURCE)
|
||||
.dontAnimate()
|
||||
GlideApp.with(itemView.context).load(item.manga)
|
||||
.diskCacheStrategy(DiskCacheStrategy.RESOURCE).centerCrop().dontAnimate()
|
||||
.into(cover_thumbnail)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user