Skip to content

Commit

Permalink
refactor: Sort SendButton parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBoulongne committed Dec 6, 2024
1 parent 818fa9d commit 4416844
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())) {
Expand Down Expand Up @@ -304,10 +304,10 @@ private fun ImportFilesTitle(@StringRes titleRes: Int) {

@Composable
private fun SendButton(
modifier: Modifier,
filesToImportCount: () -> Int,
currentSessionFilesCount: () -> Int,
importedFiles: () -> List<FileUi>,
modifier: Modifier,
navigateToUploadProgress: () -> Unit,
) {
val remainingFilesCount = filesToImportCount()
Expand Down

0 comments on commit 4416844

Please sign in to comment.