Skip to content

Commit

Permalink
review: Move back FileItem one to parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBoulongne committed Oct 25, 2024
1 parent 05fd222 commit 8e4e568
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e4e568

Please sign in to comment.