From 566c70a91f9416ecedcde7a27507f781c62927c6 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Thu, 4 Mar 2021 23:59:27 +0400 Subject: [PATCH] Fix voice chat title keyboard type --- .../Sources/VoiceChatTitleEditController.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/submodules/TelegramCallsUI/Sources/VoiceChatTitleEditController.swift b/submodules/TelegramCallsUI/Sources/VoiceChatTitleEditController.swift index 4a6afb7a2a..19e3e1d826 100644 --- a/submodules/TelegramCallsUI/Sources/VoiceChatTitleEditController.swift +++ b/submodules/TelegramCallsUI/Sources/VoiceChatTitleEditController.swift @@ -54,10 +54,10 @@ private final class VoiceChatTitleEditInputFieldNode: ASDisplayNode, ASEditableT self.textInputNode.hitTestSlop = UIEdgeInsets(top: -5.0, left: -5.0, bottom: -5.0, right: -5.0) self.textInputNode.textContainerInset = UIEdgeInsets(top: self.inputInsets.top, left: 0.0, bottom: self.inputInsets.bottom, right: 0.0) self.textInputNode.keyboardAppearance = theme.rootController.keyboardColor.keyboardAppearance - self.textInputNode.keyboardType = .URL - self.textInputNode.autocapitalizationType = .none + self.textInputNode.keyboardType = .default + self.textInputNode.autocapitalizationType = .sentences self.textInputNode.returnKeyType = .done - self.textInputNode.autocorrectionType = .no + self.textInputNode.autocorrectionType = .default self.textInputNode.tintColor = theme.actionSheet.controlAccentColor self.placeholderNode = ASTextNode()