mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Add preview for the Processing state.
This commit is contained in:
+1
@@ -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"))),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user