diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/upload/UploadSuccessQrScreen.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/upload/UploadSuccessQrScreen.kt index 7ae4d7ab1..d5febff5a 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/upload/UploadSuccessQrScreen.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/upload/UploadSuccessQrScreen.kt @@ -61,9 +61,7 @@ fun UploadSuccessQrScreen(transferType: TransferType, transferUrl: String, close ScreenContent(transferType, transferUrl) ShareAndCopyButtons( - modifier = Modifier - .padding(horizontal = Margin.Medium) - .padding(bottom = Margin.Medium, top = Margin.Mini), + modifier = Modifier.padding(bottom = Margin.Medium, top = Margin.Mini), transferLink = transferUrl, snackbarHostState = snackbarHostState, ) diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/upload/components/ShareAndCopyButtons.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/upload/components/ShareAndCopyButtons.kt index 2531fbe26..46436d2bd 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/upload/components/ShareAndCopyButtons.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/newtransfer/upload/components/ShareAndCopyButtons.kt @@ -51,6 +51,7 @@ fun ColumnScope.ShareAndCopyButtons(modifier: Modifier = Modifier, transferLink: modifier .widthIn(max = Dimens.SingleButtonMaxWidth) .fillMaxWidth() + .padding(horizontal = Margin.Medium) .align(Alignment.CenterHorizontally), ) { ShareCopyButton(