Merge branch 'feature/searchResultAnnouncement' into 'develop'
Updated accessibilityText in ListItemModel for searchResults announcement ### Summary Updated accessibilityText in ListItemModel for searchResults announcement. Dependent PR's : https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui/-/merge_requests/978 https://gitlab.verizon.com/BPHV_MIPS/mobilefirst_ios/-/merge_requests/2172 Co-authored-by: Keerthy <keerthy.marakanti@verizon.com> See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui/-/merge_requests/1022
This commit is contained in:
commit
c1cb411491
@ -18,6 +18,7 @@
|
||||
public var hideArrow: Bool?
|
||||
public var line: LineModel?
|
||||
public var style: ListItemStyle?
|
||||
public var accessibilityText: String?
|
||||
|
||||
//--------------------------------------------------
|
||||
// MARK: - Keys
|
||||
@ -29,6 +30,7 @@
|
||||
case hideArrow
|
||||
case line
|
||||
case style
|
||||
case accessibilityText
|
||||
}
|
||||
|
||||
//--------------------------------------------------
|
||||
@ -102,6 +104,7 @@
|
||||
hideArrow = try typeContainer.decodeIfPresent(Bool.self, forKey: .hideArrow)
|
||||
line = try typeContainer.decodeIfPresent(LineModel.self, forKey: .line)
|
||||
style = try typeContainer.decodeIfPresent(ListItemStyle.self, forKey: .style)
|
||||
accessibilityText = try typeContainer.decodeIfPresent(String.self, forKey: .accessibilityText)
|
||||
try super.init(from: decoder)
|
||||
}
|
||||
|
||||
@ -113,5 +116,6 @@
|
||||
try container.encodeIfPresent(hideArrow, forKey: .hideArrow)
|
||||
try container.encodeIfPresent(line, forKey: .line)
|
||||
try container.encodeIfPresent(style, forKey: .style)
|
||||
try container.encodeIfPresent(accessibilityText, forKey: .accessibilityText)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user