Replaced fillMaxHeight() with fillMaxSize()
This commit is contained in:
parent
6341be25a5
commit
484a3df42e
|
@ -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) {
|
Row(Modifier.fillMaxWidth().height(32.dp).background(Colors.Zinc200), verticalAlignment = Alignment.CenterVertically) {
|
||||||
Text("${transactionsToDisplay.size} Umsätze")
|
Text("${transactionsToDisplay.size} Umsätze")
|
||||||
Spacer(Modifier.weight(1f))
|
Spacer(Modifier.weight(1f))
|
||||||
|
@ -57,7 +57,7 @@ fun TransactionsList(uiState: UiState) {
|
||||||
Text(formatUtil.formatAmount(balance, "EUR"), color = formatUtil.getColorForAmount(balance))
|
Text(formatUtil.formatAmount(balance, "EUR"), color = formatUtil.getColorForAmount(balance))
|
||||||
}
|
}
|
||||||
|
|
||||||
LazyColumn(Modifier.fillMaxHeight()) {
|
LazyColumn(Modifier.fillMaxSize()) {
|
||||||
items(groupedByMonth.keys.sortedDescending()) { month ->
|
items(groupedByMonth.keys.sortedDescending()) { month ->
|
||||||
Column(Modifier.fillMaxWidth()) {
|
Column(Modifier.fillMaxWidth()) {
|
||||||
Text(
|
Text(
|
||||||
|
|
Loading…
Reference in New Issue