From 476334225e09dedca492704068a0a9eb99178ed6 Mon Sep 17 00:00:00 2001 From: Kevin Boulongne Date: Mon, 18 Nov 2024 17:03:22 +0100 Subject: [PATCH] fix: Use `height` instead of `size` for Spacers in Columns --- .../ui/screen/newtransfer/importfiles/ImportFilesScreen.kt | 4 ++-- 1 file changed, 2 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..47312a348 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 @@ -239,12 +239,12 @@ private fun ColumnScope.EmailAddressesTextFields(selectedTransferType: () -> Tra modifier = Modifier.fillMaxWidth(), label = stringResource(R.string.transferSenderAddressPlaceholder), ) - Spacer(Modifier.size(Margin.Medium)) + Spacer(Modifier.height(Margin.Medium)) SwissTransferTextField( modifier = Modifier.fillMaxWidth(), label = stringResource(R.string.transferRecipientAddressPlaceholder), ) - Spacer(Modifier.size(Margin.Medium)) + Spacer(Modifier.height(Margin.Medium)) } } }