mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-14 07:15:08 +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.data.glide.GlideApp
|
||||||
import eu.kanade.tachiyomi.ui.base.holder.BaseFlexibleViewHolder
|
import eu.kanade.tachiyomi.ui.base.holder.BaseFlexibleViewHolder
|
||||||
import kotlinx.android.synthetic.main.manga_list_item.*
|
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(
|
class MangaHolder(
|
||||||
view: View,
|
view: View,
|
||||||
@ -23,10 +21,8 @@ class MangaHolder(
|
|||||||
|
|
||||||
// Update the cover.
|
// Update the cover.
|
||||||
GlideApp.with(itemView.context).clear(cover_thumbnail)
|
GlideApp.with(itemView.context).clear(cover_thumbnail)
|
||||||
GlideApp.with(itemView.context)
|
GlideApp.with(itemView.context).load(item.manga)
|
||||||
.load(item.manga)
|
.diskCacheStrategy(DiskCacheStrategy.RESOURCE).centerCrop().dontAnimate()
|
||||||
.diskCacheStrategy(DiskCacheStrategy.RESOURCE)
|
.into(cover_thumbnail)
|
||||||
.dontAnimate()
|
|
||||||
.into(cover_thumbnail)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user