|
|
@ -11,6 +11,7 @@ import UIKit |
|
|
|
class LoyalityPointsWireframe { |
|
|
|
weak var view: UIViewController! |
|
|
|
private lazy var recipientsWireframe: RecipientsWireframe = { RecipientsWireframe() }() |
|
|
|
private lazy var allRecipientsWireframe: AllRecipientsWireframe = { AllRecipientsWireframe() }() |
|
|
|
} |
|
|
|
|
|
|
|
extension LoyalityPointsWireframe: LoyalityPointsWireframeInput { |
|
|
@ -35,7 +36,7 @@ extension LoyalityPointsWireframe: LoyalityPointsWireframeInput { |
|
|
|
|
|
|
|
func openSendMoneyView() { |
|
|
|
if let navVC = view.navigationController { |
|
|
|
navVC.push(recipientsWireframe.getMainView(), animated: true) |
|
|
|
navVC.push(allRecipientsWireframe.getMainView(), animated: true) |
|
|
|
} |
|
|
|
} |
|
|
|
} |