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