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 {
|
||||
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())
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user