updated ListRightVariableTotalData

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-09-20 13:28:16 -05:00
parent 2e03cec5be
commit 81a5d5099f
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@
override open func setupView() {
super.setupView()
bar.setStyle(.heavy)
bar.setStyle(.primary)
bar.widthAnchor.constraint(equalToConstant: 20).isActive = true
rightLabel.setContentCompressionResistancePriority(UILayoutPriority(rawValue: 900), for: .horizontal)
addMolecule(stack)
@ -74,7 +74,7 @@
super.reset()
leftLabel.setFontStyle(.BoldBodySmall)
rightLabel.setFontStyle(.RegularBodySmall)
bar.setStyle(.heavy)
bar.setStyle(.primary)
}
//--------------------------------------------------

View File

@ -24,7 +24,7 @@ public class ListRightVariableTotalDataModel: ListItemModel, MoleculeModelProtoc
override public func setDefaults() {
super.setDefaults()
rightLabel.hero = 0
bar.type = .heavy
bar.type = .primary
if bar.backgroundColor == nil {
bar.backgroundColor = Color(uiColor: .mvmBlue)