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))
|
||||
}
|
||||
|
||||
1
changelog.d/532.bugfix
Normal file
1
changelog.d/532.bugfix
Normal file
@@ -0,0 +1 @@
|
||||
Context Menu Crash: Attempted fix by explicitly passing in the context to each cell.
|
||||
Reference in New Issue
Block a user