mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Various UI fixes
This commit is contained in:
@@ -60,6 +60,7 @@ final class SetupTwoStepVerificationContentNode: ASDisplayNode, UITextFieldDeleg
|
||||
self.inputNode.textField.attributedPlaceholder = NSAttributedString(string: placeholder, font: Font.regular(22.0), textColor: theme.list.itemPlaceholderTextColor)
|
||||
self.inputNode.textField.textAlignment = .center
|
||||
self.inputNode.textField.keyboardAppearance = theme.chatList.searchBarKeyboardColor.keyboardAppearance
|
||||
self.inputNode.textField.tintColor = theme.list.itemAccentColor
|
||||
switch inputType {
|
||||
case .password:
|
||||
self.inputNode.textField.isSecureTextEntry = true
|
||||
@@ -127,6 +128,7 @@ final class SetupTwoStepVerificationContentNode: ASDisplayNode, UITextFieldDeleg
|
||||
self.theme = presentationData.theme
|
||||
self.inputNode.textField.keyboardAppearance = self.theme.chatList.searchBarKeyboardColor.keyboardAppearance
|
||||
self.inputSeparator.backgroundColor = self.theme.list.itemPlainSeparatorColor
|
||||
self.inputNode.textField.tintColor = self.theme.list.itemAccentColor
|
||||
}
|
||||
|
||||
func updateIsEnabled(_ isEnabled: Bool) {
|
||||
|
||||
Reference in New Issue
Block a user