mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Explicitly pass the context into the cell's environment. (#539)
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user