|
|
@ -576,15 +576,21 @@ internal fun MarkdownTextComposerEditPreview() = ElementPreview { |
|
|
|
@PreviewsDayNight |
|
|
|
@PreviewsDayNight |
|
|
|
@Composable |
|
|
|
@Composable |
|
|
|
internal fun TextComposerReplyPreview(@PreviewParameter(InReplyToDetailsProvider::class) inReplyToDetails: InReplyToDetails) = ElementPreview { |
|
|
|
internal fun TextComposerReplyPreview(@PreviewParameter(InReplyToDetailsProvider::class) inReplyToDetails: InReplyToDetails) = ElementPreview { |
|
|
|
|
|
|
|
PreviewColumn( |
|
|
|
|
|
|
|
items = persistentListOf( |
|
|
|
|
|
|
|
aMessageComposerModeReply( |
|
|
|
|
|
|
|
replyToDetails = inReplyToDetails, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
) { composerMode -> |
|
|
|
ATextComposer( |
|
|
|
ATextComposer( |
|
|
|
state = aTextEditorStateRich(), |
|
|
|
state = aTextEditorStateRich(), |
|
|
|
voiceMessageState = VoiceMessageState.Idle, |
|
|
|
voiceMessageState = VoiceMessageState.Idle, |
|
|
|
composerMode = aMessageComposerModeReply( |
|
|
|
composerMode = composerMode, |
|
|
|
replyToDetails = inReplyToDetails, |
|
|
|
|
|
|
|
), |
|
|
|
|
|
|
|
enableVoiceMessages = true, |
|
|
|
enableVoiceMessages = true, |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@PreviewsDayNight |
|
|
|
@PreviewsDayNight |
|
|
|
@Composable |
|
|
|
@Composable |
|
|
|