Made spacing a bit greater, looks better
This commit is contained in:
parent
2170bbc474
commit
8753d4c6d8
|
@ -19,7 +19,7 @@ fun TransactionListItem(transaction: AccountTransaction, backgroundColor: Color)
|
|||
Row(
|
||||
modifier = Modifier.fillMaxWidth()
|
||||
.background(color = backgroundColor)
|
||||
.padding(horizontal = 6.dp, vertical = 4.dp)
|
||||
.padding(horizontal = 6.dp, vertical = 6.dp)
|
||||
) {
|
||||
Column(Modifier.weight(1f)) {
|
||||
Text(
|
||||
|
@ -29,7 +29,7 @@ fun TransactionListItem(transaction: AccountTransaction, backgroundColor: Color)
|
|||
overflow = TextOverflow.Ellipsis
|
||||
)
|
||||
|
||||
Spacer(modifier = Modifier.height(4.dp))
|
||||
Spacer(modifier = Modifier.height(6.dp))
|
||||
|
||||
Text(
|
||||
text = transaction.reference,
|
||||
|
@ -39,7 +39,7 @@ fun TransactionListItem(transaction: AccountTransaction, backgroundColor: Color)
|
|||
)
|
||||
}
|
||||
|
||||
Spacer(Modifier.width(8.dp))
|
||||
Spacer(Modifier.width(6.dp).background(Color.Yellow))
|
||||
|
||||
Column(Modifier.width(90.dp), horizontalAlignment = Alignment.End, verticalArrangement = Arrangement.Center) {
|
||||
Text(
|
||||
|
@ -47,7 +47,7 @@ fun TransactionListItem(transaction: AccountTransaction, backgroundColor: Color)
|
|||
color = formatUtil.getColorForAmount(transaction.amount)
|
||||
)
|
||||
|
||||
Spacer(Modifier.height(8.dp))
|
||||
Spacer(Modifier.height(6.dp))
|
||||
|
||||
Text(
|
||||
text = formatUtil.formatDate(transaction.valueDate)
|
||||
|
|
Loading…
Reference in New Issue