fix for CXTDT_344190
This commit is contained in:
parent
9f1dfc947e
commit
af2360c13a
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user