Skip to content

Commit

Permalink
[fix-212] - Set up workflow pointer on both references - TT
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler-Keith-Thompson committed Aug 28, 2022
1 parent e228160 commit 2f547e0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ public struct ViewControllerWrapper<F: FlowRepresentable & UIViewController>: Vi
public typealias WorkflowInput = F.WorkflowInput
public typealias WorkflowOutput = F.WorkflowOutput

public weak var _workflowPointer: AnyFlowRepresentable?
public weak var _workflowPointer: AnyFlowRepresentable? {
didSet {
vc._workflowPointer = _workflowPointer
}
}

private var vc: F

Expand Down

0 comments on commit 2f547e0

Please sign in to comment.