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
|
text = viewModel.title
|
||||||
isEnabled = viewModel.enabled
|
isEnabled = viewModel.enabled
|
||||||
size = viewModel.size
|
size = viewModel.size
|
||||||
use = viewModel.style ?? .primary
|
use = viewModel.style
|
||||||
surface = viewModel.inverted ? .dark : .light
|
surface = viewModel.inverted ? .dark : .light
|
||||||
if let accessibilityText = viewModel.accessibilityText {
|
if let accessibilityText = viewModel.accessibilityText {
|
||||||
accessibilityLabel = accessibilityText
|
accessibilityLabel = accessibilityText
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user