Fix build

This commit is contained in:
Ali 2020-02-26 21:46:31 +04:00
parent 9948945f7b
commit e6b96f6cd4

View File

@ -280,14 +280,9 @@ private final class NavigationButtonItemNode: ImmediateTextNode {
}
}
public override var isEnabled: Bool {
get {
return super.isEnabled
}
set(value) {
if self.isEnabled != value {
super.isEnabled = value
public var isEnabled: Bool = true {
didSet {
if self.isEnabled != oldValue {
self.attributedText = NSAttributedString(string: text, attributes: self.attributesForCurrentState())
}
}