Add preview for the Processing state.
This commit is contained in:
parent
c88b54fe2b
commit
f437b77309
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ open class AttachmentsPreviewStateProvider : PreviewParameterProvider<Attachment
|
||||||
anAttachmentsPreviewState(mediaInfo = aVideoMediaInfo()),
|
anAttachmentsPreviewState(mediaInfo = aVideoMediaInfo()),
|
||||||
anAttachmentsPreviewState(mediaInfo = anAudioMediaInfo()),
|
anAttachmentsPreviewState(mediaInfo = anAudioMediaInfo()),
|
||||||
anAttachmentsPreviewState(mediaInfo = anApkMediaInfo()),
|
anAttachmentsPreviewState(mediaInfo = anApkMediaInfo()),
|
||||||
|
anAttachmentsPreviewState(sendActionState = SendActionState.Sending.Processing),
|
||||||
anAttachmentsPreviewState(sendActionState = SendActionState.Sending.Uploading(0.5f)),
|
anAttachmentsPreviewState(sendActionState = SendActionState.Sending.Uploading(0.5f)),
|
||||||
anAttachmentsPreviewState(sendActionState = SendActionState.Failure(RuntimeException("error"))),
|
anAttachmentsPreviewState(sendActionState = SendActionState.Failure(RuntimeException("error"))),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue