pass to badge

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-02-12 12:21:23 -06:00
parent 6b999703b1
commit e123c95b86

View File

@ -166,7 +166,7 @@ open class ButtonIcon: Control, Changeable, FormFieldable {
open var inputId: String? { didSet { setNeedsUpdate() } }
open var value: AnyHashable? { didSet { setNeedsUpdate() } }
//--------------------------------------------------
// MARK: - Configuration
//--------------------------------------------------
@ -477,6 +477,7 @@ open class ButtonIcon: Control, Changeable, FormFieldable {
//--------------------------------------------------
private func updateBadgeIndicator() {
if let badgeIndicatorModel {
badgeIndicator.isEnabled = isEnabled
badgeIndicator.kind = badgeIndicatorModel.kind
badgeIndicator.fillColor = badgeIndicatorModel.fillColor
badgeIndicator.surface = badgeIndicatorModel.surface