diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/components/transfer/TransferItemList.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/components/transfer/TransferItemList.kt index 8bd8a472f..ab04d9ee4 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/components/transfer/TransferItemList.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/components/transfer/TransferItemList.kt @@ -66,11 +66,11 @@ fun TransferItemList( key = { getTransfers()[it].uuid }, contentType = { getTransfers()[it] }, itemContent = { + val transfer = getTransfers()[it] SwipeToDismissComponent( contentShape = itemShape, - onSwiped = { /* TODO */ }, + onSwiped = { onSwiped(transfer.uuid) }, ) { - val transfer = getTransfers()[it] TransferItem( transfer = transfer, shape = itemShape,