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
I've got a workflow set up with multiple items, I used the .embedInNavStack() fluent API, but when I call workflow?.abandon() the nav stack doesn't reset. I just stay on the last page.
WorkflowView(launchingWith:.init(wrappedValue: appointment)){WorkflowItem(FirstView.self).presentationType(.navigationLink)WorkflowItem(SecondView.self).presentationType(.navigationLink)}.embedInNavigationView()
// from inside SecondView
Button("Abandon"){
workflow?.abandon()}
Relevant log output
It seems that the body is being published. I suspect we need to listen to calls to `abandon` and thenset all `isActive` flags to `false` inside of `WorkflowItemWrapper`
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What happened?
I've got a workflow set up with multiple items, I used the
.embedInNavStack()
fluent API, but when I callworkflow?.abandon()
the nav stack doesn't reset. I just stay on the last page.Version
SwiftCurrent Version: 5.1.4
Xcode Version: 13.4.1
iOS Version: 14+
Relevant code sample
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: