review fixes

This commit is contained in:
Pfeil, Scott Robert 2020-03-25 13:25:23 -04:00
parent 9589964777
commit c7929c509b
2 changed files with 0 additions and 31 deletions

View File

@ -20,7 +20,6 @@ public extension TemplateProtocol where Self: ViewController {
let data = try JSONSerialization.data(withJSONObject: pageJSON)
let decoder = JSONDecoder()
let templateModel = try decoder.decode(TemplateModel.self, from: data)
print(templateModel.toJSONString() ?? "")
self.templateModel = templateModel
self.pageModel = templateModel as? MVMControllerModelProtocol
}

View File

@ -1,30 +0,0 @@
//
// ModalMoleculeListTemplate.swift
// MVMCoreUI
//
// Created by Ryan on 3/6/20.
// Copyright © 2020 Verizon Wireless. All rights reserved.
//
import UIKit
open class ModalMoleculeListTemplate: MoleculeListTemplate {
<<<<<<< HEAD
override open func handleNewData() {
MVMCoreUICommonViewsUtility.addCloseButton(to: view, action: {[weak self] _ in
if let _ = self {
MVMCoreNavigationHandler.shared()?.removeCurrentViewController()
}
=======
public var closeButton: MFCustomButton?
override open func newDataBuildScreen() {
super.newDataBuildScreen()
closeButton = MVMCoreUICommonViewsUtility.addCloseButton(to: view, action: { [weak self] _ in
self?.dismiss()
>>>>>>> develop
}, verticalCentered: false)
super.handleNewData()
}
}