23 lines
499 B
Swift
23 lines
499 B
Swift
//
|
|
// UpgradeWarningPresenter.swift
|
|
// PrivadoVPN
|
|
//
|
|
// Created by Zhandos Bolatbekov on 25.02.2021.
|
|
// Copyright © 2021 Privado LLC. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
class UpgradeWarningPresenter: UpgradeWarningViewOutput {
|
|
|
|
private weak var output: UpgradeWarningModuleOutput?
|
|
|
|
init(output: UpgradeWarningModuleOutput?) {
|
|
self.output = output
|
|
}
|
|
|
|
func didTapUpgradeButton() {
|
|
self.output?.navigate(to: .preference(tab: .upgrade))
|
|
}
|
|
}
|