fix: some missing thumbnails

This commit is contained in:
aayush262 2024-05-30 23:11:34 +05:30
parent e52ea2628a
commit 5473ac8238
4 changed files with 37 additions and 39 deletions

View file

@ -33,9 +33,6 @@ class CharacterAdapter(
binding.itemCompactRelation.text = whitespace
binding.itemCompactImage.loadImage(character.image)
binding.itemCompactTitle.text = character.name
binding.root.setOnClickListener {
copyToClipboard(character.name ?: "")
}
}
override fun getItemCount(): Int = characterList.size
@ -59,6 +56,7 @@ class CharacterAdapter(
).toBundle()
)
}
itemView.setOnLongClickListener { copyToClipboard(characterList[bindingAdapterPosition].name ?: ""); true }
}
}
}