Skip to content

Commit

Permalink
update recomposition sample
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartToolFactory committed Aug 22, 2023
1 parent 80a8c29 commit 2c8c0e2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private fun MainScreen(
modifier = Modifier.padding(8.dp),

) {
val people = viewModel.personList
val people = viewModel.people

Text(text = "Counter $counter")

Expand All @@ -97,7 +97,7 @@ private fun MainScreen(

ListScreen(
people = people,
onItemClick = viewModel::updateItemSelection
onItemClick = viewModel::toggleSelection
)
}
}
Expand Down

0 comments on commit 2c8c0e2

Please sign in to comment.