diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/transferdetails/TransferDetailsScreen.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/transferdetails/TransferDetailsScreen.kt index 95bf6edf9..62c3fad3b 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/transferdetails/TransferDetailsScreen.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/transferdetails/TransferDetailsScreen.kt @@ -299,7 +299,7 @@ private fun Preview(@PreviewParameter(TransferUiListPreviewParameter::class) tra transferUrl = "", direction = TransferDirection.SENT, navigateBack = null, - getTransfer = { Success(transfers.first()).transfer }, + getTransfer = { transfers.first() }, getCheckedFiles = { mutableStateMapOf() }, clearCheckedFiles = {}, setFileCheckStatus = { _, _ -> },