change UISwitch color
This commit is contained in:
parent
12da14d5b4
commit
3720eab6b5
1 changed files with 1 additions and 0 deletions
|
|
@ -109,6 +109,7 @@ class SettingsTableViewController: UITableViewController {
|
|||
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
touchIDSwitch.onTintColor = UIColor(displayP3Red: 0, green: 122.0/255, blue: 1, alpha: 1)
|
||||
touchIDTableViewCell.accessoryView = touchIDSwitch
|
||||
touchIDSwitch.addTarget(self, action: #selector(touchIDSwitchAction), for: UIControlEvents.valueChanged)
|
||||
if Defaults[.isTouchIDOn] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue