Events dots visible for all dates.
gsrathoreniks opened this issue · 2 comments
gsrathoreniks commented
Describe the bug
Even if the event is set for a specific date, it's showing events on all the dates throughout the calendar,
To Reproduce
Steps to reproduce the behavior:
- Add events
- See the preview in device
lrnbrad commented
I think it's KalendarDay.kt's problem, maybe can check the LocalTime and kalendarEvents before placing the dot?
like:
if (kalendarEvents.isNotEmpty()) {
kalendarEvents.forEachIndexed { index, event ->
if(event.date == kalendarDay.localDate) {
KalendarDots(
modifier = Modifier,
index = index,
size = size,
color = dotColor
)
}
}
}
hi-manshu commented
This will be fixed in today's release