fix for CXTDT_344190

This commit is contained in:
Murugan, Vimal 2022-11-08 18:41:27 +05:30
parent 9f1dfc947e
commit af2360c13a

View File

@ -757,8 +757,10 @@ public typealias ActionBlock = () -> ()
extension Label {
public func reset() {
text = nil
//Weird issue. when cell reuse. text style is not getting reset.Fix for:CXTDT-344190
//We need to reset the attribute text first and then text. Its working fine
attributedText = nil
text = nil
hero = nil
textAlignment = .left
originalAttributedString = nil