From 9db98a20784ea248a6fd18e333427837dd70aa2c Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Mon, 29 Jan 2024 15:15:19 -0600 Subject: [PATCH] added else Signed-off-by: Matt Bruce --- MVMCoreUI/Atomic/Atoms/Buttons/ButtonGroup.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MVMCoreUI/Atomic/Atoms/Buttons/ButtonGroup.swift b/MVMCoreUI/Atomic/Atoms/Buttons/ButtonGroup.swift index ba9f8b56..f864e72f 100644 --- a/MVMCoreUI/Atomic/Atoms/Buttons/ButtonGroup.swift +++ b/MVMCoreUI/Atomic/Atoms/Buttons/ButtonGroup.swift @@ -43,6 +43,8 @@ import VDS childWidth = .value(childWidthValue) } else if let childWidthPercentage = viewModel.childWidthPercentage { childWidth = .percentage(childWidthPercentage) + } else { + childWidth = nil } // create / set the moleculeViews