From 080c1c192fc770094b44a66459cce0d77d79f85f Mon Sep 17 00:00:00 2001 From: rajampetS Date: Thu, 17 Jun 2021 10:27:54 +0530 Subject: [PATCH] fixed as per kevin's comments(NBD Ar) --- MVMCoreUI/Atomic/Atoms/Selectors/RadioBoxes.swift | 4 ++-- MVMCoreUI/Atomic/Templates/TemplateModel.swift | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/MVMCoreUI/Atomic/Atoms/Selectors/RadioBoxes.swift b/MVMCoreUI/Atomic/Atoms/Selectors/RadioBoxes.swift index 64b0644c..5d9136f4 100644 --- a/MVMCoreUI/Atomic/Atoms/Selectors/RadioBoxes.swift +++ b/MVMCoreUI/Atomic/Atoms/Selectors/RadioBoxes.swift @@ -166,8 +166,8 @@ extension RadioBoxes: UICollectionViewDelegate { cell.radioBox.selectBox() _ = FormValidator.validate(delegate: delegateObject?.formHolderDelegate) cell.updateAccessibility() - guard let radioB = boxes?[indexPath.row] else { return } - radioDelegate?.selectedRadioBox(text: radioB.text) + guard let radioBox = boxes?[indexPath.row] else { return } + radioDelegate?.selectedRadioBox(text: radioBox.text) } open func collectionView(_ collectionView: UICollectionView, didDeselectItemAt indexPath: IndexPath) { diff --git a/MVMCoreUI/Atomic/Templates/TemplateModel.swift b/MVMCoreUI/Atomic/Templates/TemplateModel.swift index 5557d0f8..94a2476e 100644 --- a/MVMCoreUI/Atomic/Templates/TemplateModel.swift +++ b/MVMCoreUI/Atomic/Templates/TemplateModel.swift @@ -13,9 +13,7 @@ import Foundation //-------------------------------------------------- // MARK: - Properties //-------------------------------------------------- - open class var identifier: String { - return "" - } + open class var identifier: String { "" } public var pageType: String