pulled in protocol method
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
572a7dd123
commit
980642e72c
@ -16,8 +16,7 @@ public protocol RadioSwatchModel: Modelable, FormFieldable, DataTrackable, Acces
|
||||
var strikethrough: Bool { get set }
|
||||
}
|
||||
|
||||
public struct DefaultRadioSwatchModel: RadioSwatchModel {
|
||||
public static func == (lhs: DefaultRadioSwatchModel, rhs: DefaultRadioSwatchModel) -> Bool {
|
||||
public func == (lhs: any RadioSwatchModel, rhs: any RadioSwatchModel) -> Bool {
|
||||
return lhs.selected == rhs.selected &&
|
||||
lhs.fillImage == rhs.fillImage &&
|
||||
lhs.primaryColor == rhs.primaryColor &&
|
||||
@ -36,8 +35,9 @@ public struct DefaultRadioSwatchModel: RadioSwatchModel {
|
||||
lhs.accessibilityValueDisabled == rhs.accessibilityValueDisabled &&
|
||||
lhs.accessibilityLabelEnabled == rhs.accessibilityLabelEnabled &&
|
||||
lhs.accessibilityLabelDisabled == rhs.accessibilityLabelDisabled
|
||||
}
|
||||
}
|
||||
|
||||
public struct DefaultRadioSwatchModel: RadioSwatchModel {
|
||||
|
||||
public var selected: Bool = false
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user