Fixes epoxy errors with renamed epoxy attributes
This commit is contained in:
parent
cde10ca032
commit
26176328c4
@ -326,8 +326,8 @@ class MessageItemFactory @Inject constructor(
|
|||||||
} ?: ""
|
} ?: ""
|
||||||
return MessageFileItem_()
|
return MessageFileItem_()
|
||||||
.attributes(attributes)
|
.attributes(attributes)
|
||||||
.izLocalFile(localFilesHelper.isLocalFile(fileUrl))
|
.isLocalFile(localFilesHelper.isLocalFile(fileUrl))
|
||||||
.izDownloaded(session.fileService().isFileInCache(
|
.isDownloaded(session.fileService().isFileInCache(
|
||||||
fileUrl,
|
fileUrl,
|
||||||
messageContent.getFileName(),
|
messageContent.getFileName(),
|
||||||
messageContent.mimeType,
|
messageContent.mimeType,
|
||||||
@ -368,8 +368,8 @@ class MessageItemFactory @Inject constructor(
|
|||||||
.waveform(messageContent.audioWaveformInfo?.waveform?.toFft().orEmpty())
|
.waveform(messageContent.audioWaveformInfo?.waveform?.toFft().orEmpty())
|
||||||
.playbackControlButtonClickListener(playbackControlButtonClickListener)
|
.playbackControlButtonClickListener(playbackControlButtonClickListener)
|
||||||
.voiceMessagePlaybackTracker(voiceMessagePlaybackTracker)
|
.voiceMessagePlaybackTracker(voiceMessagePlaybackTracker)
|
||||||
.izLocalFile(localFilesHelper.isLocalFile(fileUrl))
|
.isLocalFile(localFilesHelper.isLocalFile(fileUrl))
|
||||||
.izDownloaded(session.fileService().isFileInCache(
|
.isDownloaded(session.fileService().isFileInCache(
|
||||||
fileUrl,
|
fileUrl,
|
||||||
messageContent.getFileName(),
|
messageContent.getFileName(),
|
||||||
messageContent.mimeType,
|
messageContent.mimeType,
|
||||||
@ -431,8 +431,8 @@ class MessageItemFactory @Inject constructor(
|
|||||||
return MessageFileItem_()
|
return MessageFileItem_()
|
||||||
.attributes(attributes)
|
.attributes(attributes)
|
||||||
.leftGuideline(avatarSizeProvider.leftGuideline)
|
.leftGuideline(avatarSizeProvider.leftGuideline)
|
||||||
.izLocalFile(localFilesHelper.isLocalFile(messageContent.getFileUrl()))
|
.isLocalFile(localFilesHelper.isLocalFile(messageContent.getFileUrl()))
|
||||||
.izDownloaded(session.fileService().isFileInCache(messageContent))
|
.isDownloaded(session.fileService().isFileInCache(messageContent))
|
||||||
.mxcUrl(mxcUrl)
|
.mxcUrl(mxcUrl)
|
||||||
.contentUploadStateTrackerBinder(contentUploadStateTrackerBinder)
|
.contentUploadStateTrackerBinder(contentUploadStateTrackerBinder)
|
||||||
.contentDownloadStateTrackerBinder(contentDownloadStateTrackerBinder)
|
.contentDownloadStateTrackerBinder(contentDownloadStateTrackerBinder)
|
||||||
|
@ -51,9 +51,11 @@ abstract class MessageFileItem : AbsMessageItem<MessageFileItem.Holder>() {
|
|||||||
// var clickListener: ClickListener? = null
|
// var clickListener: ClickListener? = null
|
||||||
|
|
||||||
@EpoxyAttribute
|
@EpoxyAttribute
|
||||||
|
@JvmField
|
||||||
var isLocalFile = false
|
var isLocalFile = false
|
||||||
|
|
||||||
@EpoxyAttribute
|
@EpoxyAttribute
|
||||||
|
@JvmField
|
||||||
var isDownloaded = false
|
var isDownloaded = false
|
||||||
|
|
||||||
@EpoxyAttribute
|
@EpoxyAttribute
|
||||||
|
@ -48,9 +48,11 @@ abstract class MessageVoiceItem : AbsMessageItem<MessageVoiceItem.Holder>() {
|
|||||||
var waveform: List<Int> = emptyList()
|
var waveform: List<Int> = emptyList()
|
||||||
|
|
||||||
@EpoxyAttribute
|
@EpoxyAttribute
|
||||||
|
@JvmField
|
||||||
var isLocalFile = false
|
var isLocalFile = false
|
||||||
|
|
||||||
@EpoxyAttribute
|
@EpoxyAttribute
|
||||||
|
@JvmField
|
||||||
var isDownloaded = false
|
var isDownloaded = false
|
||||||
|
|
||||||
@EpoxyAttribute
|
@EpoxyAttribute
|
||||||
|
Loading…
x
Reference in New Issue
Block a user