mvm_core_ui/MVMCoreUI/Templates/ModalMoleculeStackTemplate.swift
Pfeil, Scott Robert 335ec160b5 swift
2020-03-13 10:04:47 -04:00

23 lines
563 B
Swift

//
// ModalMoleculeStackTemplate.swift
// MVMCoreUI
//
// Created by Ryan on 3/6/20.
// Copyright © 2020 Verizon Wireless. All rights reserved.
//
import UIKit
open class ModalMoleculeStackTemplate: MoleculeStackTemplate {
override open func handleNewData() {
super.handleNewData()
MVMCoreUICommonViewsUtility.addCloseButton(to: view, action: {[weak self] _ in
if let _ = self {
MVMCoreNavigationHandler.shared()?.removeCurrentViewController()
}
}, verticalCentered: false)
}
}