fix(agenda): show multi-day events on every day they span #83

Merged
makiolaj merged 7 commits from fix/agenda-multiday into release/v2.16.0 2026-07-19 10:16:57 +00:00
Showing only changes of commit 19baed9291 - Show all commits

View File

@@ -367,7 +367,10 @@ private fun AgendaList(
} else {
itemsIndexed(
items = day.events,
key = { _, event -> event.instanceId },
// Scope the key by day: a multi-day event appears under every
// day it spans, so its instanceId alone is not unique across
// the list (LazyColumn requires unique keys).
key = { _, event -> "${day.date}-${event.instanceId}" },
) { index, event ->
AgendaEventRow(
event = event,