mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
refactor: remove captionIcon
This commit is contained in:
parent
c5c8ebba04
commit
2a32d21933
@ -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)
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user