From 6ca04ef7727c9998a37b7b732d3bf0182e18e749 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 19 Jun 2026 15:10:45 +0200 Subject: [PATCH] Rename Preview. --- .../messages/impl/messagecomposer/AttachmentsBottomSheet.kt | 2 +- ...es.impl.messagecomposer_AttachmentsBottomSheet_Day_0_en.png} | 0 ....impl.messagecomposer_AttachmentsBottomSheet_Night_0_en.png} | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename tests/uitests/src/test/snapshots/images/{features.messages.impl.messagecomposer_AttachmentSourcePickerMenu_Day_0_en.png => features.messages.impl.messagecomposer_AttachmentsBottomSheet_Day_0_en.png} (100%) rename tests/uitests/src/test/snapshots/images/{features.messages.impl.messagecomposer_AttachmentSourcePickerMenu_Night_0_en.png => features.messages.impl.messagecomposer_AttachmentsBottomSheet_Night_0_en.png} (100%) diff --git a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/messagecomposer/AttachmentsBottomSheet.kt b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/messagecomposer/AttachmentsBottomSheet.kt index 60333d7641..d5fb0a100b 100644 --- a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/messagecomposer/AttachmentsBottomSheet.kt +++ b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/messagecomposer/AttachmentsBottomSheet.kt @@ -153,7 +153,7 @@ private fun AttachmentSourcePickerMenu( @PreviewsDayNight @Composable -internal fun AttachmentSourcePickerMenuPreview() = ElementPreview(fillMaxSize = true) { +internal fun AttachmentsBottomSheetPreview() = ElementPreview(fillMaxSize = true) { AttachmentsBottomSheet( state = aMessageComposerState( canShareLocation = true, diff --git a/tests/uitests/src/test/snapshots/images/features.messages.impl.messagecomposer_AttachmentSourcePickerMenu_Day_0_en.png b/tests/uitests/src/test/snapshots/images/features.messages.impl.messagecomposer_AttachmentsBottomSheet_Day_0_en.png similarity index 100% rename from tests/uitests/src/test/snapshots/images/features.messages.impl.messagecomposer_AttachmentSourcePickerMenu_Day_0_en.png rename to tests/uitests/src/test/snapshots/images/features.messages.impl.messagecomposer_AttachmentsBottomSheet_Day_0_en.png diff --git a/tests/uitests/src/test/snapshots/images/features.messages.impl.messagecomposer_AttachmentSourcePickerMenu_Night_0_en.png b/tests/uitests/src/test/snapshots/images/features.messages.impl.messagecomposer_AttachmentsBottomSheet_Night_0_en.png similarity index 100% rename from tests/uitests/src/test/snapshots/images/features.messages.impl.messagecomposer_AttachmentSourcePickerMenu_Night_0_en.png rename to tests/uitests/src/test/snapshots/images/features.messages.impl.messagecomposer_AttachmentsBottomSheet_Night_0_en.png