We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a655e9 commit 17600dbCopy full SHA for 17600db
presentation/src/main/java/com/threegap/bitnagil/presentation/home/component/template/WeeklyDatePicker.kt
@@ -55,8 +55,10 @@ fun WeeklyDatePicker(
55
modifier: Modifier = Modifier,
56
) {
57
val today = remember { LocalDate.now() }
58
- val completionStates = weeklyDates.associateWith { date ->
59
- routines.routines[date.toString()]?.allCompleted ?: false
+ val completionStates = remember(weeklyDates, routines) {
+ weeklyDates.associateWith { date ->
60
+ routines.routines[date.toString()]?.allCompleted ?: false
61
+ }
62
}
63
64
Column(
0 commit comments