From 077ee85dc0be654ceb3edae8aa9ff9e541b8875c Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Wed, 10 Apr 2024 13:39:45 -0500 Subject: [PATCH] removed ternary Signed-off-by: Matt Bruce --- MVMCoreUI/Atomic/Atoms/Buttons/PillButton.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVMCoreUI/Atomic/Atoms/Buttons/PillButton.swift b/MVMCoreUI/Atomic/Atoms/Buttons/PillButton.swift index e5d1ae73..12c65867 100644 --- a/MVMCoreUI/Atomic/Atoms/Buttons/PillButton.swift +++ b/MVMCoreUI/Atomic/Atoms/Buttons/PillButton.swift @@ -36,7 +36,7 @@ open class PillButton: VDS.Button, MVMCoreUIViewConstrainingProtocol, MFButtonPr text = viewModel.title isEnabled = viewModel.enabled size = viewModel.size - use = viewModel.style ?? .primary + use = viewModel.style surface = viewModel.inverted ? .dark : .light if let accessibilityText = viewModel.accessibilityText { accessibilityLabel = accessibilityText