fixed for protocol update

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-04-26 16:06:26 -05:00
parent 891cc9c016
commit 0be4e04091

View File

@ -101,7 +101,8 @@ open class ButtonGroup: View, UICollectionViewDataSource, UICollectionViewDelega
override public var disabled: Bool {
didSet {
buttons.forEach { button in
button.disabled = disabled
var b = button
b.disabled = disabled
}
}
}
@ -109,7 +110,8 @@ open class ButtonGroup: View, UICollectionViewDataSource, UICollectionViewDelega
override public var surface: Surface {
didSet {
buttons.forEach { button in
button.surface = surface
var b = button
b.surface = surface
}
}
}