You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When opening a network task details, the app crashes due to the ConsoleEnvironment not being assigned.
SwiftUI/EnvironmentObject.swift:82: Fatal error: No ObservableObject of type ConsoleEnvironment found. A View.environmentObject(_:) for ConsoleEnvironment may be missing as an ancestor of this view.
This can be reproduced in the Pulse iOS demo app:
EnvironmentObject.mp4
The text was updated successfully, but these errors were encountered:
The root cause is the incorrect use of environment objects. I was setting environment objects on ConsoleView and they are not propagated to the screens pushed from it. This was a last minute change, so it wasn't fully tested.
When opening a network task details, the app crashes due to the
ConsoleEnvironment
not being assigned.This can be reproduced in the Pulse iOS demo app:
EnvironmentObject.mp4
The text was updated successfully, but these errors were encountered: