Merge commit '0949f2dab359665c3a26ef06d68c419258a6caad'

This commit is contained in:
Ali
2022-03-18 23:02:40 +04:00
37 changed files with 2151 additions and 175 deletions

View File

@@ -1143,7 +1143,7 @@ public class AttachmentTextInputPanelNode: ASDisplayNode, TGCaptionPanelView, AS
text = current.inputText.attributedSubstring(from: NSMakeRange(current.selectionRange.lowerBound, current.selectionRange.count)).string
return (current, inputMode)
}
speakText(text)
let _ = speakText(text)
if #available(iOS 13.0, *) {
UIMenuController.shared.hideMenu()