From 2f0e0d69061d8a662b19ca882c7535a86c29ff04 Mon Sep 17 00:00:00 2001 From: Kevin Boulongne Date: Mon, 23 Dec 2024 13:59:27 +0100 Subject: [PATCH] style: Simplify Previews name --- .../swisstransfer/ui/components/SwissTransferChips.kt | 2 +- .../ui/screen/newtransfer/upload/UploadProgressScreen.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/components/SwissTransferChips.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/components/SwissTransferChips.kt index ad51a6b4b..cc588d477 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/components/SwissTransferChips.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/components/SwissTransferChips.kt @@ -98,7 +98,7 @@ private fun ChipLabel(text: String) { @PreviewLightAndDark @Composable -private fun EmailAddressChipPreview() { +private fun Preview() { fun getLoremText(words: Int) = LoremIpsum(words).values.joinToString(separator = " ") diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/upload/UploadProgressScreen.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/upload/UploadProgressScreen.kt index 69ad7570d..dc60d8cd1 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/upload/UploadProgressScreen.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/upload/UploadProgressScreen.kt @@ -186,7 +186,7 @@ private fun CancelUploadBottomSheet(onCancel: () -> Unit, closeButtonSheet: () - @PreviewAllWindows @Composable -private fun UploadProgressScreenPreview() { +private fun Preview() { SwissTransferTheme { UploadProgressScreen( progressState = { UploadProgressUiState.Progress(44_321_654L) },