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 05cbdbe886..55b23b7230 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 @@ -154,7 +154,7 @@ private fun ImportFilesScreen( ) }, topButton = { modifier -> - SendButton(filesToImportCount, currentSessionFilesCount, files, modifier, sendTransfer) + SendButton(modifier, filesToImportCount, currentSessionFilesCount, files, sendTransfer) }, content = { Column(modifier = Modifier.verticalScroll(rememberScrollState())) { @@ -304,10 +304,10 @@ private fun ImportFilesTitle(modifier: Modifier = Modifier, @StringRes titleRes: @Composable private fun SendButton( + modifier: Modifier, filesToImportCount: () -> Int, currentSessionFilesCount: () -> Int, importedFiles: () -> List, - modifier: Modifier, navigateToUploadProgress: () -> Unit, ) { val remainingFilesCount = filesToImportCount()