Skip to content

Commit

Permalink
fix payments history UI
Browse files Browse the repository at this point in the history
remove extra padding
  • Loading branch information
itsPronay committed Oct 3, 2024
1 parent 845b4fd commit 541ad5e
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.HorizontalDivider
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
Expand Down Expand Up @@ -134,17 +133,14 @@ private fun HistoryScreen(
label = stringResource(R.string.feature_history_debits),
)
}
Spacer(modifier = Modifier.height(24.dp))
Spacer(modifier = Modifier.height(12.dp))
LazyColumn(modifier = Modifier.fillMaxSize()) {
items(filteredTransactions) {
Column {
TransactionItemScreen(
transaction = it,
modifier = Modifier
.clickable { transactionDetailState = it },
modifier = Modifier.clickable { transactionDetailState = it },
)
HorizontalDivider(thickness = 0.5.dp, modifier = Modifier.padding(5.dp))
Spacer(modifier = Modifier.height(15.dp))
}
}
}
Expand Down

0 comments on commit 541ad5e

Please sign in to comment.