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) {
|
||||
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(
|
||||
|
|
Loading…
Reference in New Issue