added opacity to past custom events

This commit is contained in:
2026-05-04 09:45:24 +02:00
parent 0b8380eff0
commit f89ac87c51
2 changed files with 8 additions and 11 deletions
@@ -30,7 +30,7 @@ class _AppointmentComponentState extends State<AppointmentComponent> {
decoration: BoxDecoration(
shape: BoxShape.rectangle,
borderRadius: const BorderRadius.all(Radius.circular(5)),
color: meeting.color,
color: meeting.color.withAlpha(meeting.endTime.isBefore(DateTime.now()) ? 100 : 255),
),
child: SingleChildScrollView(
child: Column(