Skip to content

Commit

Permalink
flip bool
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-dydx committed Nov 28, 2023
1 parent 07f99c1 commit d77d12d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class dydxProfileButtonsViewPresenter: HostedViewPresenter<dydxProfileButtonsVie
Router.shared?.navigate(to: RoutingRequest(path: "/transfer", params: ["section": TransferSection.withdrawal.rawValue]), animated: true, completion: nil)
}

viewModel.transferAction = {
viewModel.transferAction = {
Router.shared?.navigate(to: RoutingRequest(path: "/transfer", params: ["section": TransferSection.transferOut.rawValue]), animated: true, completion: nil)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class dydxTransferInputCtaButtonViewPresenter: HostedViewPresenter<dydxTradeInpu
}

private func updateCtaAction(transferInput: TransferInput, isOnboarded: Bool) {
if isOnboarded {
if !isOnboarded {
self.viewModel?.ctaAction = {
Router.shared?.navigate(to: RoutingRequest(path: "/onboard", params: nil), animated: true, completion: nil)
}
Expand Down

0 comments on commit d77d12d

Please sign in to comment.