diff --git a/Clocker/Events and Reminders/CalendarHandler.swift b/Clocker/Events and Reminders/CalendarHandler.swift index ab124f7..896cf8a 100644 --- a/Clocker/Events and Reminders/CalendarHandler.swift +++ b/Clocker/Events and Reminders/CalendarHandler.swift @@ -198,7 +198,7 @@ extension EventCenter { for date in eventsForDate.keys { if let events = eventsForDate[date] { for event in events { - if selectedCalendars.contains(event.event.calendar.calendarIdentifier) { + if event.event.calendar != nil && selectedCalendars.contains(event.event.calendar.calendarIdentifier) { if filteredEvents[date] == nil { filteredEvents[date] = Array() }