diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/transferdetails/components/TransferInfo.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/transferdetails/components/TransferInfo.kt index 32738400d..838002d61 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/transferdetails/components/TransferInfo.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/transferdetails/components/TransferInfo.kt @@ -49,7 +49,7 @@ import com.infomaniak.swisstransfer.ui.utils.PreviewLightAndDark @Composable fun TransferInfo(transfer: TransferUi) { - val filesCount by remember { derivedStateOf { transfer.files.count() } } + val filesCount = transfer.files.count() val downloadedCount by remember { derivedStateOf { transfer.downloadLimit - transfer.downloadLeft } } Row(verticalAlignment = Alignment.CenterVertically) {