mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-29 01:29:02 +03:00
fix anime updates
This commit is contained in:
parent
c3ac2ffca5
commit
3bda339172
2 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ class AnimeUpdatesHolder(private val view: View, private val adapter: AnimeUpdat
|
|||
// Set cover
|
||||
val radius = itemView.context.resources.getDimension(R.dimen.card_radius)
|
||||
binding.animeCover.clear()
|
||||
binding.animeCover.loadAny(item.anime) {
|
||||
binding.animeCover.loadAny(item.anime.thumbnail_url) {
|
||||
transformations(RoundedCornersTransformation(radius))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ class AnimeUpdatesItem(episode: Episode, val anime: Anime, header: DateSectionIt
|
|||
BaseEpisodeItem<AnimeUpdatesHolder, DateSectionItem>(episode, header) {
|
||||
|
||||
override fun getLayoutRes(): Int {
|
||||
return R.layout.updates_item
|
||||
return R.layout.anime_updates_item
|
||||
}
|
||||
|
||||
override fun createViewHolder(view: View, adapter: FlexibleAdapter<IFlexible<RecyclerView.ViewHolder>>): AnimeUpdatesHolder {
|
||||
|
|
Loading…
Reference in a new issue