Skip to content

Commit 46af98b

Browse files
committed
Address the open issue
1 parent 56686ea commit 46af98b

File tree

1 file changed

+1
-1
lines changed
  • app/src/main/java/com/cupsofcode/recomposition_examples

1 file changed

+1
-1
lines changed

app/src/main/java/com/cupsofcode/recomposition_examples/Tip3.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ fun Tip3() {
4646
cardInfo.value = cardInfo.value.copy(secondaryText = "Jetpack Compose")
4747
})
4848

49-
GoodGreetingsTip3 { cardInfo.value }
49+
GoodGreetingsTip3(cardInfo::value)
5050
// BadGreetingsTip3(cardInfo.value.secondaryText)
5151
}
5252

0 commit comments

Comments
 (0)