mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Accessibility improvements
This commit is contained in:
@@ -48,7 +48,9 @@ private final class NavigationButtonItemNode: ImmediateTextNode {
|
||||
|
||||
self.attributedText = NSAttributedString(string: text, attributes: self.attributesForCurrentState())
|
||||
if _image == nil {
|
||||
self.item?.accessibilityLabel = value
|
||||
if self.item?.accessibilityLabel == nil {
|
||||
self.item?.accessibilityLabel = value
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user