Replaced fillMaxHeight() with fillMaxSize()

This commit is contained in:
dankito 2024-09-05 02:06:03 +02:00
parent 6341be25a5
commit 484a3df42e
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ fun TransactionsList(uiState: UiState) {
}
Column(Modifier.fillMaxHeight().padding(horizontal = 8.dp)) {
Column(Modifier.fillMaxSize().padding(horizontal = 8.dp)) {
Row(Modifier.fillMaxWidth().height(32.dp).background(Colors.Zinc200), verticalAlignment = Alignment.CenterVertically) {
Text("${transactionsToDisplay.size} Umsätze")
Spacer(Modifier.weight(1f))
@ -57,7 +57,7 @@ fun TransactionsList(uiState: UiState) {
Text(formatUtil.formatAmount(balance, "EUR"), color = formatUtil.getColorForAmount(balance))
}
LazyColumn(Modifier.fillMaxHeight()) {
LazyColumn(Modifier.fillMaxSize()) {
items(groupedByMonth.keys.sortedDescending()) { month ->
Column(Modifier.fillMaxWidth()) {
Text(