remove unnecessary casts
This commit is contained in:
parent
7d8ce68a76
commit
b9befb9abb
|
@ -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)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue