fixed for protocol update
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
891cc9c016
commit
0be4e04091
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user