mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-13 16:33:14 +00:00
refactor: remove captionIcon
This commit is contained in:
@@ -39,7 +39,6 @@ open class KThumbnailView: FrameLayout {
|
||||
|
||||
private val image by lazy { thumbnail_image }
|
||||
private val playOverlay by lazy { play_overlay }
|
||||
private val captionIcon by lazy { thumbnail_caption_icon }
|
||||
val loadIndicator: View by lazy { thumbnail_load_indicator }
|
||||
|
||||
private val dimensDelegate = ThumbnailDimensDelegate()
|
||||
@@ -111,7 +110,6 @@ open class KThumbnailView: FrameLayout {
|
||||
|
||||
this.slide = slide
|
||||
|
||||
captionIcon.isVisible = slide.caption.isPresent
|
||||
loadIndicator.isVisible = slide.isInProgress
|
||||
|
||||
dimensDelegate.setDimens(naturalWidth, naturalHeight)
|
||||
|
||||
Reference in New Issue
Block a user