diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/components/FileItem.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/components/FileItem.kt index 3fc5b980c..de63f6de4 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/components/FileItem.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/components/FileItem.kt @@ -61,14 +61,14 @@ fun FileItem( onRemove = onRemove, title = file.fileName, description = Formatter.formatShortFileSize(LocalContext.current, file.fileSizeInBytes), - ) { - FilePreview( - file = file, - circleColor = SwissTransferTheme.materialColors.surface, - circleSize = 64.dp, - ) - } - + content = { + FilePreview( + file = file, + circleColor = SwissTransferTheme.materialColors.surface, + circleSize = 64.dp, + ) + }, + ) } @Composable