From a5c4e256f7e933648bbd687739ba36c84246a9f9 Mon Sep 17 00:00:00 2001 From: Oguzhan Gungor Date: Thu, 8 Mar 2018 22:41:16 +1000 Subject: [PATCH] Passing current session to the TicketRedemptionViewController so that we can retrieve the default account --- Trust/Transactions/Coordinators/TicketsCoordinator.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Trust/Transactions/Coordinators/TicketsCoordinator.swift b/Trust/Transactions/Coordinators/TicketsCoordinator.swift index 0b2451704..aa1366ac7 100644 --- a/Trust/Transactions/Coordinators/TicketsCoordinator.swift +++ b/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 }