CXTDT-426628 - Toggle - Incorrect disabled text color
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
f517a6fd28
commit
418dcf40c2
@ -119,6 +119,10 @@ open class Toggle: Control, Changeable {
|
||||
|
||||
open var label = Label().with {
|
||||
$0.setContentCompressionResistancePriority(.required, for: .vertical)
|
||||
$0.textColorConfiguration = ViewColorConfiguration().with {
|
||||
$0.setSurfaceColors(VDSColor.elementsSecondaryOnlight, VDSColor.elementsSecondaryOndark, forDisabled: true)
|
||||
$0.setSurfaceColors(VDSColor.elementsPrimaryOnlight, VDSColor.elementsPrimaryOndark, forDisabled: false)
|
||||
}.eraseToAnyColorable()
|
||||
}
|
||||
|
||||
open var isOn: Bool {
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
1.0.27
|
||||
=======
|
||||
- Added Loader View
|
||||
- CXTDT-426628 - Toggle - Incorrect disabled text color
|
||||
|
||||
1.0.26
|
||||
=======
|
||||
|
||||
Loading…
Reference in New Issue
Block a user