Skip to content

Commit

Permalink
review: Replace first item Spacer with contentPadding
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBoulongne committed Nov 7, 2024
1 parent 4700f42 commit 2e1c9fd
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
package com.infomaniak.swisstransfer.ui.components.transfer

import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.material3.Surface
import androidx.compose.material3.Text
Expand All @@ -45,10 +44,10 @@ fun TransferItemList(
LazyColumn(
modifier = modifier,
verticalArrangement = Arrangement.spacedBy(Margin.Medium),
contentPadding = PaddingValues(top = Margin.Mini),
) {

item {
Spacer(modifier = Modifier.height(Margin.Mini))
Text(
text = stringResource(R.string.receivedFilesTitle),
style = SwissTransferTheme.typography.h1,
Expand Down

0 comments on commit 2e1c9fd

Please sign in to comment.