Commit 7eefa6a9 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk

UI: secure text field for password

Change-Id: I5b61f1ef0d7211e6d3f1fd12efd5af0447207272
parent 49dcbdcd
...@@ -453,6 +453,7 @@ class MeViewController: EditProfileViewController, StoryboardBased, ViewModelBas ...@@ -453,6 +453,7 @@ class MeViewController: EditProfileViewController, StoryboardBased, ViewModelBas
if self.viewModel.havePassord { if self.viewModel.havePassord {
alert.addTextField {(textField) in alert.addTextField {(textField) in
textField.placeholder = L10n.AccountPage.revokeDevicePlaceholder textField.placeholder = L10n.AccountPage.revokeDevicePlaceholder
textField.isSecureTextEntry = true
} }
if let textFields = alert.textFields { if let textFields = alert.textFields {
textFields[0].rx.text.map({text in textFields[0].rx.text.map({text in
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment