wwt / SwiftCurrent

A library for managing complex workflows in Swift

Home Page:https://wwt.github.io/SwiftCurrent/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Relaunching workflow in SwiftUI when isLaunched is .constant(true)

Tyler-Keith-Thompson opened this issue · comments

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Create a workflow that has an isLaunched value of .constant(true). Any of our tab view workflows in the sample app prove this.
  2. Abandon the workflow
  3. Witness the tab just completely disappearing instead of the workflow relaunching
  4. Cry

Expected behavior

I expected the same behavior as if I was not using a constant, if you abandon, then you set the value to true, the workflow is relaunched.