From 3696cdfe3004bef9a0be974a5ad7f3051e2dfc24 Mon Sep 17 00:00:00 2001 From: Florian Renaud Date: Mon, 21 Aug 2023 14:27:24 +0200 Subject: [PATCH] Rename previews --- .../io/element/android/features/poll/api/PollContentView.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/poll/api/src/main/kotlin/io/element/android/features/poll/api/PollContentView.kt b/features/poll/api/src/main/kotlin/io/element/android/features/poll/api/PollContentView.kt index f778f66bd1..6a79bda543 100644 --- a/features/poll/api/src/main/kotlin/io/element/android/features/poll/api/PollContentView.kt +++ b/features/poll/api/src/main/kotlin/io/element/android/features/poll/api/PollContentView.kt @@ -127,7 +127,7 @@ fun ColumnScope.UndisclosedPollBottomNotice() { @DayNightPreviews @Composable -internal fun PollContentNoResultsPreview() = ElementPreview { +internal fun PollContentUndisclosedPreview() = ElementPreview { PollContentView( question = "What type of food should we have at the party?", answerItems = aPollAnswerItemList(isDisclosed = false), @@ -139,7 +139,7 @@ internal fun PollContentNoResultsPreview() = ElementPreview { @DayNightPreviews @Composable -internal fun PollContentWithResultsPreview() = ElementPreview { +internal fun PollContentDisclosedPreview() = ElementPreview { PollContentView( question = "What type of food should we have at the party?", answerItems = aPollAnswerItemList(),