diff --git a/ElementX/Sources/Screens/RoomScreen/View/TimelineTableViewController.swift b/ElementX/Sources/Screens/RoomScreen/View/TimelineTableViewController.swift index e569db060..594bb8878 100644 --- a/ElementX/Sources/Screens/RoomScreen/View/TimelineTableViewController.swift +++ b/ElementX/Sources/Screens/RoomScreen/View/TimelineTableViewController.swift @@ -197,6 +197,7 @@ class TimelineTableViewController: UIViewController { .id(timelineItem.id) .frame(maxWidth: .infinity, alignment: .leading) .opacity(opacity) + .environmentObject(coordinator.context) // Attempted fix at a crash in TimelineItemContextMenu .onAppear { coordinator.send(viewAction: .itemAppeared(id: timelineItem.id)) } diff --git a/changelog.d/532.bugfix b/changelog.d/532.bugfix new file mode 100644 index 000000000..a2d3c4573 --- /dev/null +++ b/changelog.d/532.bugfix @@ -0,0 +1 @@ +Context Menu Crash: Attempted fix by explicitly passing in the context to each cell. \ No newline at end of file