Skip to content

Commit

Permalink
Cimb - Yahoo - implements 1 FA when canceling an order
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumedebavelaere committed May 31, 2018
1 parent ba7ae89 commit e5e32cc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions TradeItIosTicketSDK2/TradeItYahooLauncher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,17 @@ import SafariServices
)
}
}

if let cancelOrderViewController = originalViewController?.childViewControllers.last as? TradeItOrdersViewController {
if let originalViewController = originalViewController {
originalViewController.dismiss(
animated: true,
completion: {
cancelOrderViewController.handleCancelOrderSecurityResponse()
}
)
}
}
}

public func launchTrading(
Expand Down

0 comments on commit e5e32cc

Please sign in to comment.