mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
Fix build
This commit is contained in:
parent
9948945f7b
commit
e6b96f6cd4
@ -280,14 +280,9 @@ private final class NavigationButtonItemNode: ImmediateTextNode {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public override var isEnabled: Bool {
|
public var isEnabled: Bool = true {
|
||||||
get {
|
didSet {
|
||||||
return super.isEnabled
|
if self.isEnabled != oldValue {
|
||||||
}
|
|
||||||
set(value) {
|
|
||||||
if self.isEnabled != value {
|
|
||||||
super.isEnabled = value
|
|
||||||
|
|
||||||
self.attributedText = NSAttributedString(string: text, attributes: self.attributesForCurrentState())
|
self.attributedText = NSAttributedString(string: text, attributes: self.attributesForCurrentState())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user