Reduced padding top of first item
This commit is contained in:
parent
9116dd945f
commit
1ec1299020
|
@ -43,7 +43,7 @@ fun TransactionsList(transactions: List<AccountTransaction>) {
|
||||||
text = DI.formatUtil.formatMonth(month),
|
text = DI.formatUtil.formatMonth(month),
|
||||||
fontSize = 16.sp,
|
fontSize = 16.sp,
|
||||||
fontWeight = FontWeight.SemiBold,
|
fontWeight = FontWeight.SemiBold,
|
||||||
modifier = Modifier.padding(top = 24.dp, bottom = 2.dp),
|
modifier = Modifier.padding(top = 8.dp, bottom = 2.dp),
|
||||||
)
|
)
|
||||||
|
|
||||||
Spacer(Modifier.height(4.dp))
|
Spacer(Modifier.height(4.dp))
|
||||||
|
@ -70,7 +70,7 @@ fun TransactionsList(transactions: List<AccountTransaction>) {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
Column(Modifier.fillMaxWidth().padding(top = 2.dp), horizontalAlignment = Alignment.End) {
|
Column(Modifier.fillMaxWidth().padding(top = 2.dp, bottom = 16.dp), horizontalAlignment = Alignment.End) {
|
||||||
Text(
|
Text(
|
||||||
// TODO: find a better solution
|
// TODO: find a better solution
|
||||||
text = formatUtil.formatAmount(Amount(monthTransactions.map { it.amount.toBigDecimal() }.filter { it < 0 }.sum().toString()), "EUR"),
|
text = formatUtil.formatAmount(Amount(monthTransactions.map { it.amount.toBigDecimal() }.filter { it < 0 }.sum().toString()), "EUR"),
|
||||||
|
|
Loading…
Reference in New Issue