From f9f02f005a11f85288627420f7a63ab56b950ac7 Mon Sep 17 00:00:00 2001 From: Vincent TE Date: Wed, 13 Nov 2024 17:15:56 +0100 Subject: [PATCH 1/2] chore: Hide recipients placeholder --- .../ui/screen/main/transferdetails/TransferDetailsScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ab382c320..e96e3ad60 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 @@ -89,7 +89,7 @@ private fun TransferDetailsScreen( val context = LocalContext.current val transfer = getTransfer() ?: return - val transferRecipients = if (direction == TransferDirection.SENT) emailsPreviewData else emptyList() // TODO: Use real data + val transferRecipients: List = emptyList() // TODO: Use real data val transferPassword = "toto42" // TODO: Use real data var isMultiselectOn: Boolean by rememberSaveable { mutableStateOf(false) } From ccf96983cd342e881ef219a2724476c37fca7921 Mon Sep 17 00:00:00 2001 From: Vincent TE Date: Wed, 13 Nov 2024 17:16:15 +0100 Subject: [PATCH 2/2] chore: Hide password option for new transfer --- .../ui/screen/newtransfer/importfiles/ImportFilesScreen.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/importfiles/ImportFilesScreen.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/importfiles/ImportFilesScreen.kt index c003f8e7e..548452bb8 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/importfiles/ImportFilesScreen.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/importfiles/ImportFilesScreen.kt @@ -88,10 +88,11 @@ fun ImportFilesScreen( transferOptionType = TransferOptionType.DOWNLOAD_NUMBER_LIMIT, settingState = { downloadLimitState }, ), - TransferOptionState( + //TODO Transfer is not returned for a password protected transfer. Uncomment this when we get with a password + /*TransferOptionState( transferOptionType = TransferOptionType.PASSWORD, settingState = { passwordOptionState }, - ), + ),*/ TransferOptionState( transferOptionType = TransferOptionType.LANGUAGE, settingState = { emailLanguageState },