pull/234/head
nielsandriesse 5 years ago
parent cfade8b0b8
commit 8317cb370e

@ -180,7 +180,7 @@ private final class EnterChatURLVC : UIViewController {
// MARK: Components // MARK: Components
private lazy var chatURLTextField: TextField = { private lazy var chatURLTextField: TextField = {
let result = TextField(placeholder: "vc_enter_chat_url_text_field_hint") let result = TextField(placeholder: NSLocalizedString("vc_enter_chat_url_text_field_hint", comment: ""))
result.keyboardType = .URL result.keyboardType = .URL
result.autocapitalizationType = .none result.autocapitalizationType = .none
return result return result

@ -164,7 +164,7 @@ private final class EnterPublicKeyVC : UIViewController {
let explanationLabel = UILabel() let explanationLabel = UILabel()
explanationLabel.textColor = Colors.text explanationLabel.textColor = Colors.text
explanationLabel.font = .systemFont(ofSize: Values.smallFontSize) explanationLabel.font = .systemFont(ofSize: Values.smallFontSize)
explanationLabel.text = "vc_enter_session_id_explanation" explanationLabel.text = NSLocalizedString("vc_enter_session_id_explanation", comment: "")
explanationLabel.numberOfLines = 0 explanationLabel.numberOfLines = 0
explanationLabel.lineBreakMode = .byWordWrapping explanationLabel.lineBreakMode = .byWordWrapping
// Link button // Link button

@ -46,7 +46,7 @@ final class RestoreVC : BaseVC {
let explanationLabel = UILabel() let explanationLabel = UILabel()
explanationLabel.textColor = Colors.text explanationLabel.textColor = Colors.text
explanationLabel.font = .systemFont(ofSize: Values.smallFontSize) explanationLabel.font = .systemFont(ofSize: Values.smallFontSize)
explanationLabel.text = "vc_restore_explanation" explanationLabel.text = NSLocalizedString("vc_restore_explanation", comment: "")
explanationLabel.numberOfLines = 0 explanationLabel.numberOfLines = 0
explanationLabel.lineBreakMode = .byWordWrapping explanationLabel.lineBreakMode = .byWordWrapping
// Set up legal label // Set up legal label

Loading…
Cancel
Save