updating the model to set the TwoButtonModel to fillContainer if needed
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
d81daf1df3
commit
38907c7ac1
@ -29,8 +29,8 @@
|
||||
|
||||
if let _ = molecule as? ButtonModel {
|
||||
horizontalAlignment = .fill
|
||||
} else if let model = molecule as? TwoButtonViewModel,
|
||||
model.primaryButton == nil || model.secondaryButton == nil {
|
||||
} else if let model = molecule as? TwoButtonViewModel {
|
||||
model.fillContainer = true
|
||||
horizontalAlignment = .fill
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user