mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
split long line
This commit is contained in:
parent
b2b1bebc32
commit
26c4c7e467
@ -56,7 +56,11 @@ abstract class MessageImageVideoItem : AbsMessageItem<MessageImageVideoItem.Hold
|
||||
super.bind(holder)
|
||||
imageContentRenderer.render(mediaData, mode, holder.imageView)
|
||||
if (!attributes.informationData.sendState.hasFailed()) {
|
||||
contentUploadStateTrackerBinder.bind(attributes.informationData.eventId, LocalFilesHelper(holder.view.context).isLocalFile(mediaData.url), holder.progressLayout)
|
||||
contentUploadStateTrackerBinder.bind(
|
||||
attributes.informationData.eventId,
|
||||
LocalFilesHelper(holder.view.context).isLocalFile(mediaData.url),
|
||||
holder.progressLayout
|
||||
)
|
||||
} else {
|
||||
holder.progressLayout.isVisible = false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user