Simplify/Tweak Password.swift

This commit is contained in:
Danny Moesch 2018-07-02 22:13:07 +02:00 committed by Bob Sun
parent 213234f57e
commit f76721d7fe
3 changed files with 55 additions and 76 deletions

View file

@ -174,7 +174,7 @@ class GeneralSettingsTableViewController: BasicStaticTableViewController {
}
@objc func tapHideOTPSwitchDetailButton(_ sender: Any?) {
let keywordsString = Password.otpKeywords.joined(separator: ",")
let keywordsString = Password.OTP_KEYWORDS.joined(separator: ",")
let alertMessage = "Turn on this switch to hide the fields related to one time passwords (i.e., \(keywordsString))."
let alertTitle = "Hide One Time Password Fields"
Utils.alert(title: alertTitle, message: alertMessage, controller: self, completion: nil)