Passing current session to the TicketRedemptionViewController so that we can retrieve the default account

pull/42/head
Oguzhan Gungor 7 years ago
parent 997b61a3ce
commit a5c4e256f7
  1. 1
      Trust/Transactions/Coordinators/TicketsCoordinator.swift

@ -104,6 +104,7 @@ class TicketsCoordinator: Coordinator {
private func makeTicketRedemptionViewController(for ticketHolder: TicketHolder) -> TicketRedemptionViewController {
let controller = R.storyboard.redeemTickets.ticketRedemptionViewController()!
controller.viewModel = TicketRedemptionViewModel(ticketHolder: ticketHolder)
controller.session = session
return controller
}

Loading…
Cancel
Save