updated logic

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-10-12 09:02:39 -05:00
parent 1f91459b9e
commit 558d6c16ab

View File

@ -93,13 +93,7 @@ open class ToggleBase<ModelType: ToggleModel>: Control<ModelType> {
open var isOn: Bool
@Proxy(\.model.showText)
public var showText: Bool {
didSet {
if oldValue != showText {
updateLabel(model)
}
}
}
public var showText: Bool
@Proxy(\.model.onText)
public var onText: String