Added holdings group to LazyColumn so that they also get scrolled (and don't stick to the top)
This commit is contained in:
parent
673ca08974
commit
c80b4389aa
|
@ -43,7 +43,9 @@ fun GroupedTransactionsListItems(
|
|||
val showColoredAmounts by DI.uiSettings.showColoredAmounts.collectAsState()
|
||||
|
||||
|
||||
LazyColumn(modifier, contentPadding = PaddingValues(bottom = 12.dp)) { // padding bottom = add the space the FAB sticks into the content area (= 26 - the 16 we add at the bottom of the expenses line)
|
||||
if (holdingsToDisplay.isNotEmpty()) {
|
||||
items(1) {
|
||||
Column(Modifier.fillMaxWidth().padding(top = 8.dp, bottom = 16.dp)) {
|
||||
Text(
|
||||
text = "Depotwerte",
|
||||
|
@ -69,8 +71,8 @@ fun GroupedTransactionsListItems(
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
LazyColumn(modifier, contentPadding = PaddingValues(bottom = 12.dp)) { // padding bottom = add the space the FAB sticks into the content area (= 26 - the 16 we add at the bottom of the expenses line)
|
||||
items(groupedByDate.keys.sortedDescending()) { groupingDate ->
|
||||
Column(Modifier.fillMaxWidth()) {
|
||||
Text(
|
||||
|
|
Loading…
Reference in New Issue