Skip to content

Commit a6c3051

Browse files
committed
[FEAT/#188] LazyColumn의 key 값을 alarm의 id로 설정
1 parent 9609b71 commit a6c3051

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

feature/home/src/main/java/com/yapp/home/component/bottomsheet/AlarmListBottomSheet.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,10 @@ internal fun AlarmBottomSheetContent(
232232
LazyColumn(
233233
state = listState,
234234
) {
235-
itemsIndexed(alarms) { index, alarm ->
235+
itemsIndexed(
236+
items = alarms,
237+
key = { _, alarm -> alarm.id },
238+
) { index, alarm ->
236239
AlarmListItem(
237240
id = alarm.id,
238241
repeatDays = alarm.repeatDays,

0 commit comments

Comments
 (0)