updated logic
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
1f91459b9e
commit
558d6c16ab
@ -93,13 +93,7 @@ open class ToggleBase<ModelType: ToggleModel>: Control<ModelType> {
|
|||||||
open var isOn: Bool
|
open var isOn: Bool
|
||||||
|
|
||||||
@Proxy(\.model.showText)
|
@Proxy(\.model.showText)
|
||||||
public var showText: Bool {
|
public var showText: Bool
|
||||||
didSet {
|
|
||||||
if oldValue != showText {
|
|
||||||
updateLabel(model)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Proxy(\.model.onText)
|
@Proxy(\.model.onText)
|
||||||
public var onText: String
|
public var onText: String
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user