removed ternary
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
add7eee2f7
commit
077ee85dc0
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user