Digital PCT265 story PCT-135: Code review fix in AlertModel equality check.
This commit is contained in:
parent
0a3186ad2e
commit
6d8f8bd298
@ -159,7 +159,7 @@ public struct AlertModel: Codable, Identifiable, Equatable, AlertModelProtocol {
|
|||||||
|
|
||||||
public static func == (lhs: AlertModel, rhs: AlertModel) -> Bool {
|
public static func == (lhs: AlertModel, rhs: AlertModel) -> Bool {
|
||||||
lhs.title == rhs.title
|
lhs.title == rhs.title
|
||||||
&& lhs.message == rhs.title
|
&& lhs.message == rhs.message
|
||||||
&& lhs.preferredStyle == rhs.preferredStyle
|
&& lhs.preferredStyle == rhs.preferredStyle
|
||||||
&& lhs.buttonModels == rhs.buttonModels
|
&& lhs.buttonModels == rhs.buttonModels
|
||||||
&& lhs.analyticsData == rhs.analyticsData
|
&& lhs.analyticsData == rhs.analyticsData
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user