diff --git a/libraries/textcomposer/impl/src/main/kotlin/io/element/android/libraries/textcomposer/components/VoiceMessageRecorderButton.kt b/libraries/textcomposer/impl/src/main/kotlin/io/element/android/libraries/textcomposer/components/VoiceMessageRecorderButton.kt index 1d76755573..2e9b6a529d 100644 --- a/libraries/textcomposer/impl/src/main/kotlin/io/element/android/libraries/textcomposer/components/VoiceMessageRecorderButton.kt +++ b/libraries/textcomposer/impl/src/main/kotlin/io/element/android/libraries/textcomposer/components/VoiceMessageRecorderButton.kt @@ -112,7 +112,7 @@ private fun StopButton( @PreviewsDayNight @Composable -internal fun RecordButtonPreview() = ElementPreview { +internal fun VoiceMessageRecorderButtonPreview() = ElementPreview { Row { VoiceMessageRecorderButton(isRecording = false) VoiceMessageRecorderButton(isRecording = true)