From ffc54a4494c5c2ae2a1f2d22ca4303112c2c5d18 Mon Sep 17 00:00:00 2001 From: Vincent TE Date: Fri, 25 Oct 2024 11:06:38 +0200 Subject: [PATCH] chore(FilesDetailsScreen): remove unused PreviewParameter --- .../ui/screen/newtransfer/importfiles/FilesDetailsScreen.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/importfiles/FilesDetailsScreen.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/importfiles/FilesDetailsScreen.kt index 8f8058cba..af5b9a17d 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/importfiles/FilesDetailsScreen.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/importfiles/FilesDetailsScreen.kt @@ -22,14 +22,12 @@ import androidx.compose.foundation.layout.padding import androidx.compose.material3.Surface import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier -import androidx.compose.ui.tooling.preview.PreviewParameter import androidx.hilt.navigation.compose.hiltViewModel import com.infomaniak.swisstransfer.R import com.infomaniak.swisstransfer.ui.components.FileItemList import com.infomaniak.swisstransfer.ui.components.FileUi import com.infomaniak.swisstransfer.ui.components.SwissTransferTopAppBar import com.infomaniak.swisstransfer.ui.components.TopAppBarButton -import com.infomaniak.swisstransfer.ui.previewparameter.FileUiListPreviewParameter import com.infomaniak.swisstransfer.ui.screen.newtransfer.FilesSize import com.infomaniak.swisstransfer.ui.theme.Margin import com.infomaniak.swisstransfer.ui.theme.SwissTransferTheme @@ -94,7 +92,7 @@ private fun FilesDetailsScreen( @PreviewAllWindows @Composable -private fun FilesDetailsScreenPreview(@PreviewParameter(FileUiListPreviewParameter::class) files: List) { +private fun FilesDetailsScreenPreview() { SwissTransferTheme { Surface { FilesDetailsScreen(