localize button text
This commit is contained in:
parent
0539336fce
commit
a0b1c7aac6
@ -65,10 +65,10 @@ class FeedWranglerAccountViewController: UITableViewController {
|
|||||||
@IBAction func showHidePassword(_ sender: Any) {
|
@IBAction func showHidePassword(_ sender: Any) {
|
||||||
if passwordTextField.isSecureTextEntry {
|
if passwordTextField.isSecureTextEntry {
|
||||||
passwordTextField.isSecureTextEntry = false
|
passwordTextField.isSecureTextEntry = false
|
||||||
showHideButton.setTitle("Hide", for: .normal)
|
showHideButton.setTitle(NSLocalizedString("Hide", comment: "Button Label"), for: .normal)
|
||||||
} else {
|
} else {
|
||||||
passwordTextField.isSecureTextEntry = true
|
passwordTextField.isSecureTextEntry = true
|
||||||
showHideButton.setTitle("Show", for: .normal)
|
showHideButton.setTitle(NSLocalizedString("Show", comment: "Button Label"), for: .normal)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user