Skip to content

Commit

Permalink
Ensure Ui loads new quarterly. (#702)
Browse files Browse the repository at this point in the history
  • Loading branch information
TinasheMzondiwa authored Jun 17, 2023
1 parent b44f61d commit 5229f62
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ internal fun QuarterlyList(
is GroupedQuarterlies.TypeGroup -> {
itemsIndexed(
quarterlies.data,
key = { _, model -> model.group.name },
key = { _, model -> model.hashCode() },
itemContent = { index, model ->
val items = remember(model.group.name) {
val items = remember(model.hashCode()) {
model.quarterlies.map { quarterly ->
quarterly.copy(
onClick = {
Expand Down

0 comments on commit 5229f62

Please sign in to comment.