Fix poll-related theme changes

This commit is contained in:
Ali
2020-01-17 23:24:01 +04:00
parent 64077f9918
commit 23e59d4d76
2 changed files with 5 additions and 1 deletions

View File

@@ -326,7 +326,7 @@ class CreatePollOptionItemNode: ItemListRevealOptionsItemNode, ItemListItemNode,
let _ = textApply()
if let currentText = strongSelf.textNode.attributedText {
if currentText.string != attributedText.string {
if currentText.string != attributedText.string || updatedTheme != nil {
strongSelf.textNode.attributedText = attributedText
}
} else {