23 lines
563 B
Swift
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)
|
|
}
|
|
|
|
}
|