Various improvements

This commit is contained in:
Ilya Laktyushin
2024-01-26 01:53:43 +04:00
parent 7b8e64ca8a
commit 669151da80
96 changed files with 4038 additions and 1631 deletions

View File

@@ -731,12 +731,6 @@ public final class TextSelectionNode: ASDisplayNode {
}))
}
}
// if isSpeakSelectionEnabled() {
// actions.append(ContextMenuAction(content: .text(title: self.strings.Conversation_ContextMenuSpeak, accessibilityLabel: self.strings.Conversation_ContextMenuSpeak), action: { [weak self] in
// self?.performAction(attributedText, .speak)
// self?.dismissSelection()
// }))
// }
let realFullRange = NSRange(location: 0, length: attributedString.length)
if range != realFullRange {