From dee11d77329758178587f1740c44af625a0afaeb Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Mon, 1 Jul 2024 11:13:18 -0500 Subject: [PATCH] aspectRatio set to .none Signed-off-by: Matt Bruce --- MVMCoreUI/Atomic/Atoms/Views/TileContainerModel.swift | 4 ++-- MVMCoreUI/Atomic/Atoms/Views/TileletModel.swift | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/MVMCoreUI/Atomic/Atoms/Views/TileContainerModel.swift b/MVMCoreUI/Atomic/Atoms/Views/TileContainerModel.swift index b8b64f3d..0e7c6032 100644 --- a/MVMCoreUI/Atomic/Atoms/Views/TileContainerModel.swift +++ b/MVMCoreUI/Atomic/Atoms/Views/TileContainerModel.swift @@ -67,7 +67,7 @@ open class TileContainerBaseModel, Molec case directionalIcon case textWidth case textPercentage - case aspectRatio } required public init(from decoder: Decoder) throws { @@ -90,8 +89,6 @@ open class TileletModel: TileContainerBaseModel, Molec } try super.init(from: decoder) - //Tilelet default is .none, not ratio1x1 (TileContainer) - aspectRatio = try container.decodeIfPresent(Tilelet.AspectRatio.self, forKey: .aspectRatio) ?? .none } public func eyebrowModel(delegateObject: MVMCoreUIDelegateObject?, additionalData: [AnyHashable: Any]?) -> Tilelet.EyebrowModel? {