refactor: remove captionIcon

This commit is contained in:
jubb 2021-06-29 16:06:22 +10:00
parent c5c8ebba04
commit 2a32d21933
2 changed files with 0 additions and 10 deletions

View File

@ -39,7 +39,6 @@ open class KThumbnailView: FrameLayout {
private val image by lazy { thumbnail_image } private val image by lazy { thumbnail_image }
private val playOverlay by lazy { play_overlay } private val playOverlay by lazy { play_overlay }
private val captionIcon by lazy { thumbnail_caption_icon }
val loadIndicator: View by lazy { thumbnail_load_indicator } val loadIndicator: View by lazy { thumbnail_load_indicator }
private val dimensDelegate = ThumbnailDimensDelegate() private val dimensDelegate = ThumbnailDimensDelegate()
@ -111,7 +110,6 @@ open class KThumbnailView: FrameLayout {
this.slide = slide this.slide = slide
captionIcon.isVisible = slide.caption.isPresent
loadIndicator.isVisible = slide.isInProgress loadIndicator.isVisible = slide.isInProgress
dimensDelegate.setDimens(naturalWidth, naturalHeight) dimensDelegate.setDimens(naturalWidth, naturalHeight)

View File

@ -14,14 +14,6 @@
android:scaleType="fitCenter" android:scaleType="fitCenter"
android:contentDescription="@string/conversation_item__mms_image_description" /> android:contentDescription="@string/conversation_item__mms_image_description" />
<ImageView
android:id="@+id/thumbnail_caption_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="6dp"
android:src="@drawable/ic_caption_28"
android:visibility="gone" />
<org.thoughtcrime.securesms.conversation.v2.utilities.ThumbnailProgressBar <org.thoughtcrime.securesms.conversation.v2.utilities.ThumbnailProgressBar
android:id="@+id/thumbnail_load_indicator" android:id="@+id/thumbnail_load_indicator"
android:layout_width="match_parent" android:layout_width="match_parent"