Introduce color provider to encapsulate check for iOS 13 availability
This commit is contained in:
parent
e0c32003e3
commit
51c9510f3d
12 changed files with 80 additions and 41 deletions
|
|
@ -20,7 +20,7 @@ class AdvancedSettingsTableViewController: UITableViewController {
|
|||
|
||||
let encryptInASCIIArmoredSwitch: UISwitch = {
|
||||
let uiSwitch = UISwitch()
|
||||
uiSwitch.onTintColor = Globals.blue
|
||||
uiSwitch.onTintColor = Colors.systemBlue
|
||||
uiSwitch.sizeToFit()
|
||||
uiSwitch.addTarget(self, action: #selector(encryptInASCIIArmoredAction(_:)), for: UIControl.Event.valueChanged)
|
||||
return uiSwitch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue