Reduced padding top of first item

This commit is contained in:
dankito 2024-08-26 01:32:01 +02:00
parent 9116dd945f
commit 1ec1299020
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ fun TransactionsList(transactions: List<AccountTransaction>) {
text = DI.formatUtil.formatMonth(month),
fontSize = 16.sp,
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))
@ -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(
// TODO: find a better solution
text = formatUtil.formatAmount(Amount(monthTransactions.map { it.amount.toBigDecimal() }.filter { it < 0 }.sum().toString()), "EUR"),