fixed bug

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-01-29 15:27:52 -06:00
parent a81ff55e6e
commit 8201b8fad4

View File

@ -30,7 +30,7 @@ open class LoadingSpinner: VDS.Loader, VDSMoleculeViewProtocol {
// MARK: - MVMCoreViewProtocol
//--------------------------------------------------
open class func estimatedHeight(with model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?) -> CGFloat? {
guard let model = model as? LoadingSpinnerModel else return { 0 }
guard let model = model as? LoadingSpinnerModel else { return 0 }
return model.diameter
}