Keep table view text color consistent

This commit is contained in:
Yishi Lin 2020-03-05 00:05:01 +08:00
parent b84f2dce13
commit 17ccf55c48
3 changed files with 0 additions and 5 deletions

View file

@ -79,13 +79,11 @@ class PasswordEditorTableViewController: UITableViewController {
scanQRCodeCell = UITableViewCell(style: .default, reuseIdentifier: "default")
scanQRCodeCell?.textLabel?.text = "AddOneTimePassword".localize()
scanQRCodeCell?.textLabel?.textColor = Colors.systemBlue
scanQRCodeCell?.selectionStyle = .default
scanQRCodeCell?.accessoryType = .disclosureIndicator
passwordFlavorCell = UITableViewCell(style: .value1, reuseIdentifier: "default")
passwordFlavorCell?.textLabel?.text = "PasswordGeneratorFlavor".localize()
passwordFlavorCell?.textLabel?.textColor = Colors.systemBlue
passwordFlavorCell?.selectionStyle = .none
passwordFlavorCell?.accessoryType = .disclosureIndicator
passwordFlavorCell?.detailTextLabel?.text = passwordGenerator.flavor.localized