diff --git a/AutoCat/Screens/EventsScreen/EventsScreen.swift b/AutoCat/Screens/EventsScreen/EventsScreen.swift index f83a98a..163fe66 100644 --- a/AutoCat/Screens/EventsScreen/EventsScreen.swift +++ b/AutoCat/Screens/EventsScreen/EventsScreen.swift @@ -74,6 +74,11 @@ struct EventsScreen: View { List { ForEach(viewModel.events) { event in makeEventCell(for: event) + .contentShape(Rectangle()) + .onTapGesture { + viewModel.mode = .map + selectedEvent = event + } .swipeActions(allowsFullSwipe: false) { makeActions(for: event) }