remove unnecessary casts

This commit is contained in:
Christophe Beyls 2024-04-18 00:16:36 +02:00
parent 7d8ce68a76
commit b9befb9abb
1 changed files with 2 additions and 2 deletions

View File

@ -189,8 +189,8 @@ class MediaPreviewLayout(context: Context, attrs: AttributeSet? = null) :
val wrapper = getChildAt(index)
action(
index,
wrapper.findViewById(R.id.preview_image_view) as MediaPreviewImageView,
wrapper.findViewById(R.id.preview_media_description_indicator) as TextView
wrapper.findViewById(R.id.preview_image_view),
wrapper.findViewById(R.id.preview_media_description_indicator)
)
}
}